diff options
Diffstat (limited to 'src/bin/CMakeLists.txt')
-rw-r--r-- | src/bin/CMakeLists.txt | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/bin/CMakeLists.txt b/src/bin/CMakeLists.txt index b587479c6..99a7e5136 100644 --- a/src/bin/CMakeLists.txt +++ b/src/bin/CMakeLists.txt @@ -1,9 +1,10 @@ +# If not on Windows, generate anoperc and install it along with mydbgen 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 "${BINDIR}" + DESTINATION "${INSTDIR}" ) install(PROGRAMS ${CMAKE_CURRENT_SOURCE_DIR}/mydbgen DESTINATION "${DATADIR}" ) endif(NOT WIN32) - |