Skip to content

Commit

Permalink
Fix cmake setup
Browse files Browse the repository at this point in the history
  • Loading branch information
scheibel committed Feb 26, 2024
1 parent 9334677 commit 81b5b9a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion source/examples/cubescape-gtk4/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# External dependencies
#

find_package(GTK4 REQUIRED)
find_package(GTK4 QUIET)
find_package(cpplocate QUIET)


Expand Down
2 changes: 1 addition & 1 deletion source/examples/cubescape-sdl/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 81b5b9a

Please sign in to comment.