diff --git a/CMakeLists.txt b/CMakeLists.txt index 3dbfc76..4161f65 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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) \ No newline at end of file +if(BUILD_SPECPROJECT) + add_subdirectory(SpecProject) +endif() \ No newline at end of file