hedgewars/CMakeLists.txt
changeset 196 993cf173218b
parent 193 56885ea29202
child 220 d79eaeaf969d
--- a/hedgewars/CMakeLists.txt	Wed Oct 11 19:37:48 2006 +0000
+++ b/hedgewars/CMakeLists.txt	Thu Oct 12 18:52:00 2006 +0000
@@ -24,12 +24,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 "010906")
-			message("Minimum required version of FreePascal is 1.9.6")
-		else (fpc_ver LESS "010906")
+		if (fpc_ver LESS "010904")
+			message("Minimum required version of FreePascal is 1.9.4")
+		else (fpc_ver LESS "010904")
 			set(pascal_compiler ${fpc_executable})
 			set(pascal_compiler_flags "-B" "-Sd" "-Xs" "-OG" "-O2" "-Cs2000000" ${hwengine_project})
-		endif (fpc_ver LESS "010906")
+		endif (fpc_ver LESS "010904")
 	endif (fpc_version)
 endif (dcc32version)