move CMAKE_Pascal_FLAGS_* flags after enabling the Pascal language or they get overwritten
--- a/CMakeLists.txt Mon Dec 30 14:56:47 2013 -0500
+++ b/CMakeLists.txt Tue Dec 31 00:19:12 2013 +0100
@@ -79,9 +79,6 @@
add_flag_append(CMAKE_CXX_FLAGS "-Wall -pipe")
add_flag_append(CMAKE_CXX_FLAGS_RELEASE "-Os")
add_flag_append(CMAKE_CXX_FLAGS_DEBUG "-Wextra -O0")
-add_flag_append(CMAKE_Pascal_FLAGS "-Cs2000000")
-add_flag_append(CMAKE_Pascal_FLAGS_DEBUG "-O- -gv")
-add_flag_append(CMAKE_Pascal_FLAGS_RELEASE "-Os -Xs")
#CMake adds a lot of additional configuration flags, so let's clear them up
if(${MINIMAL_FLAGS})
--- a/hedgewars/CMakeLists.txt Mon Dec 30 14:56:47 2013 -0500
+++ b/hedgewars/CMakeLists.txt Tue Dec 31 00:19:12 2013 +0100
@@ -8,6 +8,10 @@
enable_language(Pascal)
+add_flag_append(CMAKE_Pascal_FLAGS "-Cs2000000")
+add_flag_append(CMAKE_Pascal_FLAGS_DEBUG "-O- -gv")
+add_flag_append(CMAKE_Pascal_FLAGS_RELEASE "-Os -Xs")
+
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/config.inc.in ${CMAKE_CURRENT_BINARY_DIR}/config.inc)
include_directories(${CMAKE_CURRENT_BINARY_DIR})