cmake: quietly look for SDL3-static and SDL3_test framework in SDL3Config.cmake

This commit is contained in:
Anonymous Maarten
2025-10-03 19:14:40 +02:00
parent 6e6dc500b5
commit 23646aed53

View File

@@ -34,7 +34,7 @@ endmacro()
if(_sdl3_framework)
set(SDL3_SDL3-static_FOUND TRUE)
find_sdl3_static_dependencies()
find_package(SDL3-static CONFIG)
find_package(SDL3-static CONFIG QUIET)
if(SDL3_SDL3-static_FOUND AND SDL3-static_FOUND)
set(SDL3_SDL3-static_FOUND TRUE)
endif()
@@ -62,7 +62,7 @@ endif()
# Find SDL3::SDL3_test
if(_sdl3_framework)
find_package(SDL3_test CONFIG)
find_package(SDL3_test CONFIG QUIET)
if(SDL3_test_FOUND)
enable_language(OBJC)
set(SDL3_SDL3_test_FOUND TRUE)