workaround the different Lion ABI by forcing fpc 2.6 as minimum compiler version on osx
--- 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!")