From 7d9865150a2770161ea16f734f991d40696f8049 Mon Sep 17 00:00:00 2001 From: cyberbotx Date: Mon, 29 Dec 2008 22:04:53 +0000 Subject: 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 --- src/tools/CMakeLists.txt | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'src/tools') diff --git a/src/tools/CMakeLists.txt b/src/tools/CMakeLists.txt index 05c535863..c281df5b5 100644 --- a/src/tools/CMakeLists.txt +++ b/src/tools/CMakeLists.txt @@ -23,12 +23,10 @@ foreach(SRC ${TOOLS_SRCS}) install(TARGETS ${EXE} DESTINATION tools ) - if(IN_SOURCE) - # Add the executable to the list of files for CPack to ignore - get_target_property(EXE_BINARY ${EXE} LOCATION) - get_filename_component(EXE_BINARY ${EXE_BINARY} NAME) - add_to_cpack_ignored_files("${EXE_BINARY}$" TRUE) - endif(IN_SOURCE) + # Add the executable to the list of files for CPack to ignore + get_target_property(EXE_BINARY ${EXE} LOCATION) + get_filename_component(EXE_BINARY ${EXE_BINARY} NAME) + add_to_cpack_ignored_files("${EXE_BINARY}$" TRUE) endforeach(SRC) # Only for Windows, set anopesmtp to require the wsock32 library -- cgit