summaryrefslogtreecommitdiff
path: root/src/bin
diff options
context:
space:
mode:
authorcyberbotx <cyberbotx@5417fbe8-f217-4b02-8779-1006273d7864>2008-12-29 22:04:53 +0000
committercyberbotx <cyberbotx@5417fbe8-f217-4b02-8779-1006273d7864>2008-12-29 22:04:53 +0000
commit7d9865150a2770161ea16f734f991d40696f8049 (patch)
tree696c6175fc05eee588cee788ba2c98be7b4997a8 /src/bin
parent47fb48706c65ff72dfb1dcdda2bfa0301086e918 (diff)
Edits to CPack-related part of CMake to not include Autotools-built files from a dirty source tree.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1884 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/bin')
-rw-r--r--src/bin/CMakeLists.txt6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/bin/CMakeLists.txt b/src/bin/CMakeLists.txt
index e6aea4ec4..9bdbb23dd 100644
--- a/src/bin/CMakeLists.txt
+++ b/src/bin/CMakeLists.txt
@@ -4,10 +4,8 @@ if(NOT WIN32)
install(PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/anoperc
DESTINATION .
)
- if(IN_SOURCE)
- # Add anoperc to list of files for CPack to ignore
- add_to_cpack_ignored_files("anoperc$")
- endif(IN_SOURCE)
+ # Add anoperc to list of files for CPack to ignore
+ add_to_cpack_ignored_files("anoperc$")
install(PROGRAMS ${CMAKE_CURRENT_SOURCE_DIR}/mydbgen
DESTINATION data
)