diff options
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 6edbed73..7e94b24c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -51,7 +51,8 @@ tde_setup_paths( ) ##### user requested modules #################### option( BUILD_ALL "Build all" OFF ) -option( BUILD_QUANTA "Build Quanta" ${BUILD_ALL} ) +option( BUILD_KFILEREPLACE "Build kfilereplace" ${BUILD_ALL} ) +option( BUILD_QUANTA "Build quanta" ${BUILD_ALL} ) ##### configure checks ########################## @@ -73,7 +74,11 @@ set( CMAKE_MODULE_LINKER_FLAGS "-Wl,--no-undefined" ) ##### source directories ######################## -add_subdirectory( lib ) +if( BUILD_QUANTA ) + add_subdirectory( lib ) +endif( ) + +tde_conditional_add_subdirectory( BUILD_KFILEREPLACE kfilereplace ) tde_conditional_add_subdirectory( BUILD_QUANTA quanta ) |