hedgewars/CMakeLists.txt
branchcmake_pascal
changeset 8821 e85ff6e298b5
parent 8819 8e25b820b360
child 8823 65b430b6cd68
--- a/hedgewars/CMakeLists.txt	Tue Mar 19 18:32:22 2013 +0100
+++ b/hedgewars/CMakeLists.txt	Wed Mar 20 18:31:13 2013 +0100
@@ -106,7 +106,7 @@
     message(FATAL_ERROR "Freepascal ${FREEPASCAL_VERSION} is too old, minimum version required is ${required_fpc_version}")
 elseif(FREEPASCAL_VERSION VERSION_GREATER 2.4)
     #enable INLINE only with a recent version of fpc
-    add_flag_append(CMAKE_Pascal_FLAGS_RELEASE -Si)
+    add_flag_prepend(CMAKE_Pascal_FLAGS_RELEASE -Si)
 endif()