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:
+3
-1
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user