diff --git a/dependencies/CMakeLists.txt b/dependencies/CMakeLists.txt index 094cb0e..bc7a5b4 100644 --- a/dependencies/CMakeLists.txt +++ b/dependencies/CMakeLists.txt @@ -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()