--- a/hedgewars/CMakeLists.txt Sat Oct 25 09:55:58 2008 +0000
+++ b/hedgewars/CMakeLists.txt Sun Oct 26 13:00:35 2008 +0000
@@ -69,12 +69,12 @@
string(REGEX REPLACE "[0-9]+\\.([0-9])+\\.[0-9]+" "\\1" fpc_vers_minor "${fpc_version}")
string(REGEX REPLACE "[0-9]+\\.[0-9]+\\.([0-9]+)" "\\1" fpc_vers_patch "${fpc_version}")
math(EXPR fpc_ver "${fpc_vers_major}*10000 + ${fpc_vers_minor}*100 + ${fpc_vers_patch}")
- if (fpc_ver LESS "010904")
- message("Minimum required version of FreePascal is 1.9.4")
- else (fpc_ver LESS "010904")
+ if (fpc_ver LESS "020200")
+ message("Minimum required version of FreePascal is 2.2.0")
+ else (fpc_ver LESS "020200")
set(pascal_compiler ${fpc_executable})
set(pascal_compiler_flags ${noexecstack_flags} "-B" "-FE../bin" "-Cs2000000" "-vwi" "-O2" ${hwengine_project})
- endif (fpc_ver LESS "010904")
+ endif (fpc_ver LESS "020200")
endif (fpc_version)
if (NOT pascal_compiler)