summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorcyberbotx <cyberbotx@5417fbe8-f217-4b02-8779-1006273d7864>2009-03-11 20:10:00 +0000
committercyberbotx <cyberbotx@5417fbe8-f217-4b02-8779-1006273d7864>2009-03-11 20:10:00 +0000
commit29b9577bd2846611efb732cc134e5c84956225b8 (patch)
tree78d6b4410748737b20824c80ae0a78f777ad6e2f /lang
parent174bb94648eb9927255bed79f0ec09da4fbfd4d9 (diff)
Fix the CMake generation to work with older versions of CMake 2.4.x, cleaning up some of the macros and also correcting the code to detect what version of CMake is in use.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2155 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'lang')
-rw-r--r--lang/CMakeLists.txt4
1 files changed, 1 insertions, 3 deletions
diff --git a/lang/CMakeLists.txt b/lang/CMakeLists.txt
index 5390e6904..46114cafc 100644
--- a/lang/CMakeLists.txt
+++ b/lang/CMakeLists.txt
@@ -53,9 +53,7 @@ add_to_cpack_ignored_files("${index_RELATIVE}$")
# Find all the *.l files within the current source directory, and sort the list
file(GLOB LANG_SRCS RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} "*.l")
-if(CMAKE244_OR_BETTER)
- list(SORT LANG_SRCS)
-endif(CMAKE244_OR_BETTER)
+sort_list(LANG_SRCS)
# Iterate through the language files
foreach(LANG_L ${LANG_SRCS})