Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions template-config.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@
# Please adjust the list of submodules to search for.


# Find depencencies
include(CMakeFindDependencyMacro)
#find_dependency(glm)


# List of modules
set(MODULE_NAMES
baselib
Expand Down Expand Up @@ -40,6 +45,7 @@ if(MODULE_FOUND)
return()
endif()


# Try common build locations
if("${CMAKE_BUILD_TYPE}" STREQUAL "Debug")
find_modules("build-debug/cmake")
Expand All @@ -49,5 +55,6 @@ else()
find_modules("build-debug/cmake")
endif()


# Signal success/failure to CMake
set(template_FOUND ${MODULE_FOUND})