mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-26 22:57:00 +02:00
Fix ffmpeg include paths
This commit is contained in:
parent
a19c9eccc4
commit
1334b4b04f
@ -290,8 +290,15 @@ else()
|
|||||||
target_compile_definitions(vcmiclient PRIVATE DISABLE_VIDEO)
|
target_compile_definitions(vcmiclient PRIVATE DISABLE_VIDEO)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
target_include_directories(vcmiclient
|
target_include_directories(vcmiclient PUBLIC
|
||||||
PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})
|
${CMAKE_CURRENT_SOURCE_DIR}
|
||||||
|
)
|
||||||
|
|
||||||
|
if (ffmpeg_INCLUDE_DIRS)
|
||||||
|
target_include_directories(vcmiclient PRIVATE
|
||||||
|
${ffmpeg_INCLUDE_DIRS}
|
||||||
|
)
|
||||||
|
endif()
|
||||||
|
|
||||||
vcmi_set_output_dir(vcmiclient "")
|
vcmi_set_output_dir(vcmiclient "")
|
||||||
enable_pch(vcmiclient)
|
enable_pch(vcmiclient)
|
||||||
|
Loading…
Reference in New Issue
Block a user