--- a/hedgewars/CMakeLists.txt Mon Jan 22 18:32:00 2007 +0000
+++ b/hedgewars/CMakeLists.txt Tue Jan 23 16:59:05 2007 +0000
@@ -56,7 +56,7 @@
string(REGEX MATCH "[0-9]+\\.[0-9]+" dcc32version "${dcc32_output}")
if (dcc32version)
set(pascal_compiler ${dcc32_executable})
- set(pascal_compiler_flags "-B" "-W" "-E${EXECUTABLE_OUTPUT_PATH}" ${hwengine_project})
+ set(pascal_compiler_flags "-B" "-va" "-W" "-E${EXECUTABLE_OUTPUT_PATH}" ${hwengine_project})
else (dcc32version)
string(REGEX MATCH "[0-9]+\\.[0-9]+\\.[0-9]+" fpc_version "${fpc_output}")
if (fpc_version)
@@ -68,7 +68,7 @@
message("Minimum required version of FreePascal is 1.9.4")
else (fpc_ver LESS "010904")
set(pascal_compiler ${fpc_executable})
- set(pascal_compiler_flags "-FE../bin" "-Cs2000000" "-O2" ${hwengine_project})
+ set(pascal_compiler_flags "-B" "-FE../bin" "-Cs2000000" "-O2" ${hwengine_project})
endif (fpc_ver LESS "010904")
endif (fpc_version)
endif (dcc32version)