summaryrefslogtreecommitdiff
path: root/src/bin
diff options
context:
space:
mode:
Diffstat (limited to 'src/bin')
-rw-r--r--src/bin/CMakeLists.txt8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/bin/CMakeLists.txt b/src/bin/CMakeLists.txt
index 99a7e5136..34044ddf9 100644
--- a/src/bin/CMakeLists.txt
+++ b/src/bin/CMakeLists.txt
@@ -2,9 +2,13 @@
if(NOT WIN32)
configure_file(${Anope_SOURCE_DIR}/src/bin/anoperc.cmake ${Anope_BINARY_DIR}/src/bin/anoperc)
install(PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/anoperc
- DESTINATION "${INSTDIR}"
+ DESTINATION .
)
+ if(IN_SOURCE)
+ # Add anoperc to list of files for CPack to ignore
+ add_to_cpack_ignored_files("anoperc$")
+ endif(IN_SOURCE)
install(PROGRAMS ${CMAKE_CURRENT_SOURCE_DIR}/mydbgen
- DESTINATION "${DATADIR}"
+ DESTINATION data
)
endif(NOT WIN32)