cmake_modules/CMakePascalInformation.cmake
branchcmake_pascal
changeset 8829 6940e86a7df6
parent 8823 65b430b6cd68
child 8831 06562cd68897
--- a/cmake_modules/CMakePascalInformation.cmake	Fri Mar 22 10:33:35 2013 +0100
+++ b/cmake_modules/CMakePascalInformation.cmake	Fri Mar 22 10:34:50 2013 +0100
@@ -149,12 +149,11 @@
   SET(CMAKE_Ada_CREATE_SHARED_MODULE ${CMAKE_Ada_CREATE_SHARED_LIBRARY})
 ENDIF(NOT CMAKE_Ada_CREATE_SHARED_MODULE)
 
-# create an Ada static library
-IF(NOT CMAKE_Ada_CREATE_STATIC_LIBRARY)
-  SET(CMAKE_Ada_CREATE_STATIC_LIBRARY
-      "<CMAKE_AR> cr <TARGET> <LINK_FLAGS> <OBJECTS> "
-      "<CMAKE_RANLIB> <TARGET> ")
-ENDIF(NOT CMAKE_Ada_CREATE_STATIC_LIBRARY)
+# create an Pascal static library (unsupported)
+IF(NOT CMAKE_Pascal_CREATE_STATIC_LIBRARY)
+  SET(CMAKE_Pascal_CREATE_STATIC_LIBRARY
+      "echo STATIC LIBRARIES ARE NOT SUPPORTED" "exit")
+ENDIF(NOT CMAKE_Pascal_CREATE_STATIC_LIBRARY)
 
 # compile a Pascal file into an object file
 if(NOT CMAKE_Pascal_COMPILE_OBJECT)