cmake_modules/platform.cmake
changeset 9517 217eacb69395
parent 9339 14f5f3a1e2f7
child 9673 5be4de0eb4b0
--- a/cmake_modules/platform.cmake	Thu Oct 10 23:33:22 2013 +0200
+++ b/cmake_modules/platform.cmake	Fri Oct 11 00:04:36 2013 +0200
@@ -1,5 +1,10 @@
 
 if(APPLE)
+    if(${CMAKE_VERSION} VERSION_GREATER "2.8.10.2" AND
+       ${CMAKE_VERSION} VERSION_LESS "2.8.12.1")
+        message(FATAL_ERROR "This version of CMake is known *not* to work, please update or use a lower version")
+    endif()
+
     set(CMAKE_FIND_FRAMEWORK "FIRST")
 
     #what system are we building for