mirror of
https://github.com/vcmi/vcmi.git
synced 2024-11-30 08:57:00 +02:00
Merge pull request #1497 from Adriankhl/fix_ffmpeg
Fix ffmpeg include paths
This commit is contained in:
commit
0215939491
@ -290,8 +290,15 @@ else()
|
||||
target_compile_definitions(vcmiclient PRIVATE DISABLE_VIDEO)
|
||||
endif()
|
||||
|
||||
target_include_directories(vcmiclient
|
||||
PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})
|
||||
target_include_directories(vcmiclient PUBLIC
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
)
|
||||
|
||||
if (ffmpeg_INCLUDE_DIRS)
|
||||
target_include_directories(vcmiclient PRIVATE
|
||||
${ffmpeg_INCLUDE_DIRS}
|
||||
)
|
||||
endif()
|
||||
|
||||
vcmi_set_output_dir(vcmiclient "")
|
||||
enable_pch(vcmiclient)
|
||||
|
Loading…
Reference in New Issue
Block a user