workaround the different Lion ABI by forcing fpc 2.6 as minimum compiler version on osx
authorkoda
Sun, 18 Mar 2012 14:22:13 +0100
changeset 6801 b42bdf470b84
parent 6800 76f5af60b55b
child 6802 8701007d58c0
workaround the different Lion ABI by forcing fpc 2.6 as minimum compiler version on osx
hedgewars/CMakeLists.txt
--- a/hedgewars/CMakeLists.txt	Sun Mar 18 14:15:51 2012 +0100
+++ b/hedgewars/CMakeLists.txt	Sun Mar 18 14:22:13 2012 +0100
@@ -134,8 +134,8 @@
 
     if(fpc_ver LESS "020200")
         message(FATAL_ERROR "Minimum required version of FreePascal is 2.2.0")
-    elseif(APPLE AND x86_64_build AND (fpc_ver LESS "020400"))
-        message(FATAL_ERROR "Minimum required version of FreePascal is 2.4.0 for building 64 bit applications on Mac OS X")
+    elseif(APPLE AND (fpc_ver LESS "020600"))
+        message(FATAL_ERROR "Minimum required version of FreePascal is 2.6.0 on Mac OS X")
     endif()
 else()
     message(FATAL_ERROR "No Pascal compiler found!")