cmake_modules/CMakePascalInformation.cmake
changeset 9537 1d72831311f6
parent 9535 08be603491c7
child 9869 2d206defd974
equal deleted inserted replaced
9535:08be603491c7 9537:1d72831311f6
    73 
    73 
    74 # repeat for modules
    74 # repeat for modules
    75 if(NOT CMAKE_SHARED_MODULE_CREATE_Pascal_FLAGS AND CMAKE_SHARED_MODULE_CREATE_C_FLAGS)
    75 if(NOT CMAKE_SHARED_MODULE_CREATE_Pascal_FLAGS AND CMAKE_SHARED_MODULE_CREATE_C_FLAGS)
    76 # ? (linux) / -bundle -Wl,-headerpad_max_install_names (darwin)
    76 # ? (linux) / -bundle -Wl,-headerpad_max_install_names (darwin)
    77     string(REGEX REPLACE "-Wl," "-k" CMAKE_SHARED_MODULE_CREATE_Pascal_FLAGS ${CMAKE_SHARED_MODULE_CREATE_C_FLAGS})
    77     string(REGEX REPLACE "-Wl," "-k" CMAKE_SHARED_MODULE_CREATE_Pascal_FLAGS ${CMAKE_SHARED_MODULE_CREATE_C_FLAGS})
    78 endif(NOT CMAKE_SHARED_MODULE_CREATE_Pascal_FLAGS)
    78 endif()
    79 
    79 
    80 if(NOT CMAKE_SHARED_MODULE_Pascal_FLAGS AND CMAKE_SHARED_MODULE_C_FLAGS)
    80 if(NOT CMAKE_SHARED_MODULE_Pascal_FLAGS AND CMAKE_SHARED_MODULE_C_FLAGS)
    81     string(REGEX REPLACE "-Wl," "-k" CMAKE_SHARED_MODULE_Pascal_FLAGS ${CMAKE_SHARED_MODULE_C_FLAGS})
    81     string(REGEX REPLACE "-Wl," "-k" CMAKE_SHARED_MODULE_Pascal_FLAGS ${CMAKE_SHARED_MODULE_C_FLAGS})
    82 endif()
    82 endif()
    83 
    83