diff options
author | cyberbotx <cyberbotx@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-12-17 20:16:55 +0000 |
---|---|---|
committer | cyberbotx <cyberbotx@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-12-17 20:16:55 +0000 |
commit | 2d72446860abac08dc4f36b10fde7536f7897956 (patch) | |
tree | 25dc114bb696bc8752d68e6e050da8d3dda5f282 /data/CMakeLists.txt | |
parent | 1cd73b4dadb8e618a0ec56289408922be42aac8a (diff) |
More CMake work, mostly to handle both *nix and Windows builds.
Also some tweaks to generation files (like version.sh) to take both input and output files as arguments, to handle CMake when it's used for an out-of-source build.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1836 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'data/CMakeLists.txt')
-rw-r--r-- | data/CMakeLists.txt | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/data/CMakeLists.txt b/data/CMakeLists.txt index cecdad423..e0eb5e9cd 100644 --- a/data/CMakeLists.txt +++ b/data/CMakeLists.txt @@ -1,5 +1,4 @@ -file(GLOB DATA RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} "*") -list(REMOVE_ITEM DATA CMakeLists.txt CMakeFiles Makefile cmake_install.cmake) +set(DATA example.chk example.conf) install(FILES ${DATA} DESTINATION "${DATADIR}" ) |