diff -r c18c66d621e5 -r 9e75dbffec81 hedgewars/CMakeLists.txt --- a/hedgewars/CMakeLists.txt Wed Jan 08 23:29:30 2014 +0100 +++ b/hedgewars/CMakeLists.txt Wed Jan 08 23:39:43 2014 +0100 @@ -94,8 +94,8 @@ ) -if (${CMAKE_Pascal_COMPILER_VERSION} VERSION_LESS 2.2 OR # older versions are just ancient - (${CMAKE_Pascal_COMPILER_VERSION} VERSION_LESS 2.6 AND APPLE)) # because of 64bit and opengl bindings +if(${CMAKE_Pascal_COMPILER_VERSION} VERSION_LESS 2.2 OR # older versions are just ancient + (${CMAKE_Pascal_COMPILER_VERSION} VERSION_LESS 2.6 AND APPLE)) # because of 64bit and opengl bindings message(FATAL_ERROR "Your FreePascal installation is too old (fpc ${CMAKE_Pascal_COMPILER_VERSION})!") elseif(CMAKE_Pascal_COMPILER_VERSION VERSION_GREATER 2.4) #enable INLINE only with a recent version of fpc