summaryrefslogtreecommitdiff
path: root/src/tools
diff options
context:
space:
mode:
authorcyberbotx <cyberbotx@5417fbe8-f217-4b02-8779-1006273d7864>2008-12-19 02:25:31 +0000
committercyberbotx <cyberbotx@5417fbe8-f217-4b02-8779-1006273d7864>2008-12-19 02:25:31 +0000
commit51353104ee019584441676289e563d5137049cdc (patch)
treefb99da243b1ed1241f21fbd982e02c6f047b7c7c /src/tools
parentab658faa91456fa1e7da2e132549ac5dc7828fae (diff)
Updated the CMakeLists.txt files to function under CMake 2.4.x (earliest version to work is 2.4.4 now).
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1848 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/tools')
-rw-r--r--src/tools/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/CMakeLists.txt b/src/tools/CMakeLists.txt
index 17d9b9282..96fa1c39c 100644
--- a/src/tools/CMakeLists.txt
+++ b/src/tools/CMakeLists.txt
@@ -15,7 +15,7 @@ foreach(SRC ${TOOLS_SRCS})
calculate_depends(${SRC})
# Generate the executable and set it's linker flags, also set it to depend on the main Anope executable to be built beforehand
add_executable(${EXE} ${SRC})
- set_target_properties(${EXE} PROPERTIES LINK_FLAGS "${LDFLAGS}")
+ set_target_properties(${EXE} PROPERTIES LINKER_LANGUAGE CXX LINK_FLAGS "${LDFLAGS}")
add_dependencies(${EXE} ${PROGRAM_NAME})
# Set the executable to be installed to the tools directory under the bin directory
install(TARGETS ${EXE}