1
0
mirror of https://github.com/anope/anope.git synced 2026-07-06 09:33:13 +02:00

Allow disabling installation of extra tools (with DISABLE_TOOLS)

This commit is contained in:
Dominic Hargreaves
2015-07-01 20:09:46 -04:00
committed by Adam
parent 4cbdf9a73b
commit 0f01c04b02
+3 -1
View File
@@ -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}