mirror of
https://github.com/yuzu-mirror/yuzu.git
synced 2024-11-18 06:10:00 +00:00
cmake: Suppress SDL2 not found warning
If SDL2 is not found, the error is handled by falling back to externals. No need spill the full warning at the find_package if it's going to be handled later, so add QUIET to it.
This commit is contained in:
parent
ea78f9a2ef
commit
956b2bd332
1 changed files with 1 additions and 1 deletions
|
@ -274,7 +274,7 @@ if (ENABLE_SDL2)
|
||||||
target_link_libraries(SDL2 INTERFACE "${SDL2_LIBRARY}")
|
target_link_libraries(SDL2 INTERFACE "${SDL2_LIBRARY}")
|
||||||
target_include_directories(SDL2 INTERFACE "${SDL2_INCLUDE_DIR}")
|
target_include_directories(SDL2 INTERFACE "${SDL2_INCLUDE_DIR}")
|
||||||
else()
|
else()
|
||||||
find_package(SDL2 2.0.14)
|
find_package(SDL2 2.0.14 QUIET)
|
||||||
|
|
||||||
if (SDL2_FOUND)
|
if (SDL2_FOUND)
|
||||||
# Some installations don't set SDL2_LIBRARIES
|
# Some installations don't set SDL2_LIBRARIES
|
||||||
|
|
Loading…
Reference in a new issue