diff --git a/source/examples/cubescape-gtk4/CMakeLists.txt b/source/examples/cubescape-gtk4/CMakeLists.txt index 6e8f9e9a..951fc71a 100644 --- a/source/examples/cubescape-gtk4/CMakeLists.txt +++ b/source/examples/cubescape-gtk4/CMakeLists.txt @@ -3,7 +3,7 @@ # External dependencies # -find_package(GTK4 REQUIRED) +find_package(GTK4 QUIET) find_package(cpplocate QUIET) diff --git a/source/examples/cubescape-sdl/CMakeLists.txt b/source/examples/cubescape-sdl/CMakeLists.txt index 55e43055..fe11a45b 100644 --- a/source/examples/cubescape-sdl/CMakeLists.txt +++ b/source/examples/cubescape-sdl/CMakeLists.txt @@ -15,7 +15,7 @@ find_package(cpplocate QUIET) set(target cubescape-sdl) # Exit here if required dependencies are not met -if (NOT SDL2_FOUND) +if (NOT TARGET SDL2::SDL2) message("Example ${target} skipped: SDL2 not found") return() endif()