mirror of
https://git.sr.ht/~thestr4ng3r/chiaki
synced 2025-08-19 21:13:12 -07:00
FFMPEG vars fix
This commit is contained in:
parent
63d6006d59
commit
d89b57cee0
2 changed files with 8 additions and 2 deletions
|
@ -20,6 +20,7 @@ matrix:
|
|||
- qt512svg
|
||||
- libgl1-mesa-dev
|
||||
- nasm
|
||||
- libsdl2-dev
|
||||
env:
|
||||
- CMAKE_PREFIX_PATH="$TRAVIS_BUILD_DIR/ffmpeg-prefix;/opt/qt512"
|
||||
- CMAKE_EXTRA_ARGS="-DCMAKE_INSTALL_PREFIX=/usr"
|
||||
|
@ -57,7 +58,8 @@ script:
|
|||
-DCMAKE_PREFIX_PATH=$CMAKE_PREFIX_PATH
|
||||
-DCHIAKI_ENABLE_TESTS=ON
|
||||
-DCHIAKI_ENABLE_CLI=OFF
|
||||
-DCHIAKI_GUI_ENABLE_QT_GAMEPAD=ON
|
||||
-DCHIAKI_GUI_ENABLE_QT_GAMEPAD=OFF
|
||||
-DCHIAKI_GUI_ENABLE_SDL_GAMECONTROLLER=ON
|
||||
$CMAKE_EXTRA_ARGS
|
||||
..
|
||||
- make -j4
|
||||
|
|
|
@ -210,9 +210,13 @@ if (FFMPEG_INCLUDE_DIRS)
|
|||
list(REMOVE_DUPLICATES FFMPEG_INCLUDE_DIRS)
|
||||
endif ()
|
||||
|
||||
if(_ffmpeg_required_vars)
|
||||
set(_ffmpeg_required_vars REQUIRED_VARS ${_ffmpeg_required_vars})
|
||||
endif()
|
||||
|
||||
include(FindPackageHandleStandardArgs)
|
||||
find_package_handle_standard_args(FFMPEG
|
||||
REQUIRED_VARS ${_ffmpeg_required_vars}
|
||||
${_ffmpeg_required_vars}
|
||||
VERSION_VAR FFMPEG_VERSION
|
||||
HANDLE_COMPONENTS)
|
||||
unset(_ffmpeg_required_vars)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue