mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 21:57:44 +00:00
Meta: Silence warnings from optional CMake packages
These can be quite verbose on the command line if the packages aren't found. As they do not break the build, let's not spam warnings. The OpenGL package is also now skipped on macOS, where there's no point in looking for the package anyways.
This commit is contained in:
parent
9090290d11
commit
82398e5724
2 changed files with 11 additions and 11 deletions
|
@ -549,8 +549,8 @@ if (BUILD_LAGOM)
|
|||
add_serenity_subdirectory(Meta/Lagom/Contrib/MacPDF)
|
||||
endif()
|
||||
|
||||
find_package(SDL2)
|
||||
if(SDL2_FOUND)
|
||||
find_package(SDL2 QUIET)
|
||||
if (SDL2_FOUND)
|
||||
add_serenity_subdirectory(Meta/Lagom/Contrib/VideoPlayerSDL)
|
||||
endif()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue