equal
deleted
inserted
replaced
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) |