--- a/cmake_modules/CMakeDeterminePascalCompiler.cmake Fri Mar 22 10:40:48 2013 +0100
+++ b/cmake_modules/CMakeDeterminePascalCompiler.cmake Fri Mar 22 10:43:43 2013 +0100
@@ -43,15 +43,6 @@
GET_FILENAME_COMPONENT(COMPILER_LOCATION "${CMAKE_Pascal_COMPILER}" PATH)
-#FIND_PROGRAM(GNAT_EXECUTABLE_BUILDER NAMES gnatmake PATHS ${COMPILER_LOCATION} )
-FIND_PROGRAM(CMAKE_AR NAMES ar PATHS ${COMPILER_LOCATION} )
-
-FIND_PROGRAM(CMAKE_RANLIB NAMES ranlib)
-IF(NOT CMAKE_RANLIB)
- SET(CMAKE_RANLIB : CACHE INTERNAL "noop for ranlib")
-ENDIF(NOT CMAKE_RANLIB)
-MARK_AS_ADVANCED(CMAKE_RANLIB)
-
# configure variables set in this file for fast reload later on
if(${CMAKE_VERSION} VERSION_LESS 2.8.10)
CONFIGURE_FILE(${CMAKE_MODULE_PATH}/CMakePascalCompiler.cmake.in
@@ -63,6 +54,4 @@
IMMEDIATE )
endif(${CMAKE_VERSION} VERSION_LESS 2.8.10)
-MARK_AS_ADVANCED(CMAKE_AR)
-
SET(CMAKE_Pascal_COMPILER_ENV_VAR "FPC")