mirror of
https://github.com/gwm17/Specter.git
synced 2024-11-22 10:18:50 -05:00
Make building the template SpecProject optional (off by default) set by CMake option BUILD_SPECPROJECT
This commit is contained in:
parent
d34f5d676b
commit
6bf8701c31
|
@ -11,8 +11,12 @@ endif()
|
|||
|
||||
project(Specter)
|
||||
|
||||
option(BUILD_SPECPROJECT "Build SpecProject template" Off)
|
||||
|
||||
set(SPECTER_BINARY_DIR ${CMAKE_CURRENT_SOURCE_DIR}/bin)
|
||||
set(SPECTER_LIBRARY_DIR ${CMAKE_CURRENT_SOURCE_DIR}/lib)
|
||||
|
||||
add_subdirectory(Specter)
|
||||
add_subdirectory(SpecProject)
|
||||
if(BUILD_SPECPROJECT)
|
||||
add_subdirectory(SpecProject)
|
||||
endif()
|
Loading…
Reference in New Issue
Block a user