--- a/cmake_modules/CMakePascalInformation.cmake Sun Oct 13 23:04:56 2013 +0200
+++ b/cmake_modules/CMakePascalInformation.cmake Sun Oct 13 23:23:43 2013 +0200
@@ -75,7 +75,7 @@
if(NOT CMAKE_SHARED_MODULE_CREATE_Pascal_FLAGS AND CMAKE_SHARED_MODULE_CREATE_C_FLAGS)
# ? (linux) / -bundle -Wl,-headerpad_max_install_names (darwin)
string(REGEX REPLACE "-Wl," "-k" CMAKE_SHARED_MODULE_CREATE_Pascal_FLAGS ${CMAKE_SHARED_MODULE_CREATE_C_FLAGS})
-endif(NOT CMAKE_SHARED_MODULE_CREATE_Pascal_FLAGS)
+endif()
if(NOT CMAKE_SHARED_MODULE_Pascal_FLAGS AND CMAKE_SHARED_MODULE_C_FLAGS)
string(REGEX REPLACE "-Wl," "-k" CMAKE_SHARED_MODULE_Pascal_FLAGS ${CMAKE_SHARED_MODULE_C_FLAGS})