diff options
author | Dominic Hargreaves <dom@earth.li> | 2015-07-01 20:09:46 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2015-07-01 20:09:46 -0400 |
commit | 0f01c04b0218dccac2d763f6b483ab0e15a232b3 (patch) | |
tree | 58ac61fc658bbb9aff8f61b6a3e72db07e2fcf21 /src | |
parent | 4cbdf9a73bae33ecf7fbf04cbeb65e6d4ba2aa3f (diff) |
Allow disabling installation of extra tools (with DISABLE_TOOLS)
Diffstat (limited to 'src')
-rw-r--r-- | src/CMakeLists.txt | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 6825ad6d2..b390d164b 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -106,7 +106,9 @@ add_to_cpack_ignored_files("${SERVICES_BINARY}$" TRUE) configure_file(${Anope_SOURCE_DIR}/include/sysconf.h.cmake ${Anope_BINARY_DIR}/include/sysconf.h) # Go into the following directories and run their CMakeLists.txt as well -add_subdirectory(tools) +if(NOT DISABLE_TOOLS) + add_subdirectory(tools) +endif(NOT DISABLE_TOOLS) # Set Anope to be installed to the bin directory install(TARGETS ${PROGRAM_NAME} |