equal
deleted
inserted
replaced
51 SET(CMAKE_RANLIB : CACHE INTERNAL "noop for ranlib") |
51 SET(CMAKE_RANLIB : CACHE INTERNAL "noop for ranlib") |
52 ENDIF(NOT CMAKE_RANLIB) |
52 ENDIF(NOT CMAKE_RANLIB) |
53 MARK_AS_ADVANCED(CMAKE_RANLIB) |
53 MARK_AS_ADVANCED(CMAKE_RANLIB) |
54 |
54 |
55 # configure variables set in this file for fast reload later on |
55 # configure variables set in this file for fast reload later on |
56 #CONFIGURE_FILE(${CMAKE_ROOT}/Modules/CMakePascalCompiler.cmake.in |
56 if(${CMAKE_VERSION} VERSION_LESS 2.8.10) |
57 CONFIGURE_FILE(${CMAKE_MODULE_PATH}/CMakePascalCompiler.cmake.in |
57 CONFIGURE_FILE(${CMAKE_MODULE_PATH}/CMakePascalCompiler.cmake.in |
58 "${CMAKE_BINARY_DIR}/${CMAKE_FILES_DIRECTORY}/CMakePascalCompiler.cmake" |
58 "${CMAKE_BINARY_DIR}/${CMAKE_FILES_DIRECTORY}/CMakePascalCompiler.cmake" |
59 IMMEDIATE) |
59 IMMEDIATE ) |
|
60 else(${CMAKE_VERSION} VERSION_LESS 2.8.10) |
|
61 CONFIGURE_FILE(${CMAKE_MODULE_PATH}/CMakePascalCompiler.cmake.in |
|
62 "${CMAKE_BINARY_DIR}/${CMAKE_FILES_DIRECTORY}/${CMAKE_VERSION}/CMakePascalCompiler.cmake" |
|
63 IMMEDIATE ) |
|
64 endif(${CMAKE_VERSION} VERSION_LESS 2.8.10) |
|
65 |
60 MARK_AS_ADVANCED(CMAKE_AR) |
66 MARK_AS_ADVANCED(CMAKE_AR) |
61 |
67 |
62 SET(CMAKE_Pascal_COMPILER_ENV_VAR "FPC") |
68 SET(CMAKE_Pascal_COMPILER_ENV_VAR "FPC") |