diff options
Diffstat (limited to 'data/CMakeLists.txt')
-rw-r--r-- | data/CMakeLists.txt | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/data/CMakeLists.txt b/data/CMakeLists.txt index 8bb635dcf..2515bc082 100644 --- a/data/CMakeLists.txt +++ b/data/CMakeLists.txt @@ -1,6 +1,4 @@ -# Only install example.chk and example.conf from this directory -# NOTE: I would've had this just find all files in the directory, but that would include files not needed (like this file) -set(DATA example.chk botserv.example.conf example.conf hostserv.example.conf modules.example.conf operserv.example.conf chanserv.example.conf global.example.conf memoserv.example.conf nickserv.example.conf chanstats.example.conf irc2sql.example.conf stats.standalone.example.conf) -install(FILES ${DATA} +file(GLOB DATA_EXAMPLECONFS RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} "*.conf") +install(FILES example.chk ${DATA_EXAMPLECONFS} DESTINATION ${CONF_DIR} ) |