diff options
| author | Tomáš Chvátal <scarabeus@gentoo.org> | 2009-09-04 13:59:14 +0200 |
|---|---|---|
| committer | Tomáš Chvátal <scarabeus@gentoo.org> | 2009-09-04 13:59:14 +0200 |
| commit | 16fc4253e795e4812b8680a61525e8d8fd0693d1 (patch) | |
| tree | bb69108339d1ba25d96a980d2f773f800b2587f1 | |
| parent | 2e460d93a9b236291e5b722c451857d457cd5bbd (diff) | |
With server configure into out-tree correctly.
| -rw-r--r-- | data/conf/CMakeLists.txt | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/data/conf/CMakeLists.txt b/data/conf/CMakeLists.txt index b57ed63..00922c5 100644 --- a/data/conf/CMakeLists.txt +++ b/data/conf/CMakeLists.txt @@ -8,7 +8,12 @@ # CURRENT DIRECTORY FILES ############################################################################### IF ( BUILD_SERVER ) - CONFIGURE_FILE ( ${CMAKE_SOURCE_DIR}/data/conf/arena.conf.in ${CMAKE_SOURCE_DIR}/data/conf/arena.conf ) + CONFIGURE_FILE ( + ${CMAKE_SOURCE_DIR}/data/conf/arena.conf.in + ${CMAKE_BINARY_DIR}/data/conf/arena.conf + ) + INSTALL ( FILES ${CMAKE_BINARY_DIR}/data/conf/arena.conf + DESTINATION ${CMAKE_INSTALL_ETCDIR}/${APPNAME} ) FILE ( GLOB files "*.conf" ) INSTALL ( FILES ${files} DESTINATION ${CMAKE_INSTALL_ETCDIR}/${APPNAME} ) |