Skip to content

Commit 81b5b9a

Browse files
committed
Fix cmake setup
1 parent 9334677 commit 81b5b9a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

source/examples/cubescape-gtk4/CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# External dependencies
44
#
55

6-
find_package(GTK4 REQUIRED)
6+
find_package(GTK4 QUIET)
77
find_package(cpplocate QUIET)
88

99

source/examples/cubescape-sdl/CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ find_package(cpplocate QUIET)
1515
set(target cubescape-sdl)
1616

1717
# Exit here if required dependencies are not met
18-
if (NOT SDL2_FOUND)
18+
if (NOT TARGET SDL2::SDL2)
1919
message("Example ${target} skipped: SDL2 not found")
2020
return()
2121
endif()

0 commit comments

Comments
 (0)