summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
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})