cmake_modules/CMakePascalInformation.cmake
changeset 9535 08be603491c7
parent 9515 9af6176fcd8f
child 9537 1d72831311f6
equal deleted inserted replaced
9533:db77654c3565 9535:08be603491c7
    70     set(CMAKE_SHARED_MODULE_Pascal_FLAGS ${CMAKE_SHARED_LIBRARY_Pascal_FLAGS})
    70     set(CMAKE_SHARED_MODULE_Pascal_FLAGS ${CMAKE_SHARED_LIBRARY_Pascal_FLAGS})
    71     set(CMAKE_SHARED_MODULE_CREATE_Pascal_FLAGS ${CMAKE_SHARED_LIBRARY_CREATE_Pascal_FLAGS})
    71     set(CMAKE_SHARED_MODULE_CREATE_Pascal_FLAGS ${CMAKE_SHARED_LIBRARY_CREATE_Pascal_FLAGS})
    72 endif(NOT CMAKE_MODULE_EXISTS)
    72 endif(NOT CMAKE_MODULE_EXISTS)
    73 
    73 
    74 # repeat for modules
    74 # repeat for modules
    75 if(NOT CMAKE_SHARED_MODULE_CREATE_Pascal_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(NOT CMAKE_SHARED_MODULE_CREATE_Pascal_FLAGS)
    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)