diff -r 8e25b820b360 -r e85ff6e298b5 hedgewars/CMakeLists.txt --- 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()