equal
deleted
inserted
replaced
92 #these interact with everything, so compile last |
92 #these interact with everything, so compile last |
93 uScript.pas |
93 uScript.pas |
94 ) |
94 ) |
95 |
95 |
96 |
96 |
97 if (${CMAKE_Pascal_COMPILER_VERSION} VERSION_LESS 2.2 OR # older versions are just ancient |
97 if(${CMAKE_Pascal_COMPILER_VERSION} VERSION_LESS 2.2 OR # older versions are just ancient |
98 (${CMAKE_Pascal_COMPILER_VERSION} VERSION_LESS 2.6 AND APPLE)) # because of 64bit and opengl bindings |
98 (${CMAKE_Pascal_COMPILER_VERSION} VERSION_LESS 2.6 AND APPLE)) # because of 64bit and opengl bindings |
99 message(FATAL_ERROR "Your FreePascal installation is too old (fpc ${CMAKE_Pascal_COMPILER_VERSION})!") |
99 message(FATAL_ERROR "Your FreePascal installation is too old (fpc ${CMAKE_Pascal_COMPILER_VERSION})!") |
100 elseif(CMAKE_Pascal_COMPILER_VERSION VERSION_GREATER 2.4) |
100 elseif(CMAKE_Pascal_COMPILER_VERSION VERSION_GREATER 2.4) |
101 #enable INLINE only with a recent version of fpc |
101 #enable INLINE only with a recent version of fpc |
102 add_flag_prepend(CMAKE_Pascal_FLAGS_RELEASE -Si) |
102 add_flag_prepend(CMAKE_Pascal_FLAGS_RELEASE -Si) |
103 endif() |
103 endif() |