Skip to content

Commit

Permalink
Stop libconfig building examples
Browse files Browse the repository at this point in the history
  • Loading branch information
JustDoom committed Dec 16, 2024
1 parent 5e7685d commit d207b6e
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions dependencies/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
add_subdirectory(nativefiledialog)

set(BUILD_EXAMPLES OFF CACHE BOOL "Disable examples for libconfig" FORCE)
add_subdirectory(libconfig)

if(SDL_VENDORED)
# This assumes you have added SDL as a submodule in vendored/SDL
add_subdirectory(sdl EXCLUDE_FROM_ALL)
else()
# 1. Look for a SDL3 package,
# 2. look for the SDL3-shared component, and
# 3. fail if the shared component cannot be found.
find_package(SDL3 REQUIRED CONFIG REQUIRED COMPONENTS SDL3-shared)
endif()

Expand Down

0 comments on commit d207b6e

Please sign in to comment.