cmake_modules/CMakePascalInformation.cmake
branch0.9.20
changeset 9922 58dee07f7552
parent 9886 af0520a6bf00
child 9926 9d79a52c5586
equal deleted inserted replaced
9919:145323067f05 9922:58dee07f7552
    49     string(REGEX REPLACE "-Wl," "-k" CMAKE_SHARED_LIBRARY_LINK_Pascal_FLAGS ${CMAKE_SHARED_LIBRARY_LINK_C_FLAGS})
    49     string(REGEX REPLACE "-Wl," "-k" CMAKE_SHARED_LIBRARY_LINK_Pascal_FLAGS ${CMAKE_SHARED_LIBRARY_LINK_C_FLAGS})
    50 endif()
    50 endif()
    51 
    51 
    52 if(NOT CMAKE_SHARED_LIBRARY_RUNTIME_Pascal_FLAG)
    52 if(NOT CMAKE_SHARED_LIBRARY_RUNTIME_Pascal_FLAG)
    53 #-Wl,-rpath,
    53 #-Wl,-rpath,
    54     set(CMAKE_SHARED_LIBRARY_RUNTIME_Pascal_FLAG "-k-rpath")
    54     set(CMAKE_SHARED_LIBRARY_RUNTIME_Pascal_FLAG "-k-rpath -k")
    55 endif(NOT CMAKE_SHARED_LIBRARY_RUNTIME_Pascal_FLAG)
    55 endif(NOT CMAKE_SHARED_LIBRARY_RUNTIME_Pascal_FLAG)
    56 
    56 
    57 if(NOT CMAKE_SHARED_LIBRARY_RUNTIME_Pascal_FLAG_SEP)
    57 if(NOT CMAKE_SHARED_LIBRARY_RUNTIME_Pascal_FLAG_SEP)
    58     set(CMAKE_SHARED_LIBRARY_RUNTIME_Pascal_FLAG_SEP ${CMAKE_SHARED_LIBRARY_RUNTIME_C_FLAG_SEP})
    58     set(CMAKE_SHARED_LIBRARY_RUNTIME_Pascal_FLAG_SEP ${CMAKE_SHARED_LIBRARY_RUNTIME_C_FLAG_SEP})
    59 endif(NOT CMAKE_SHARED_LIBRARY_RUNTIME_Pascal_FLAG_SEP)
    59 endif(NOT CMAKE_SHARED_LIBRARY_RUNTIME_Pascal_FLAG_SEP)
    60 
    60 
    61 if(NOT CMAKE_SHARED_LIBRARY_RPATH_LINK_Pascal_FLAG)
    61 if(NOT CMAKE_SHARED_LIBRARY_RPATH_LINK_Pascal_FLAG)
    62 #-Wl,-rpath-link,
    62 #-Wl,-rpath-link,
    63     set(CMAKE_SHARED_LIBRARY_RPATH_LINK_Pascal_FLAG "-k-rpath-link")
    63     set(CMAKE_SHARED_LIBRARY_RPATH_LINK_Pascal_FLAG "-k-rpath-link -k")
    64 endif(NOT CMAKE_SHARED_LIBRARY_RPATH_LINK_Pascal_FLAG)
    64 endif(NOT CMAKE_SHARED_LIBRARY_RPATH_LINK_Pascal_FLAG)
    65 
    65 
    66 # for most systems a module is the same as a shared library
    66 # for most systems a module is the same as a shared library
    67 # so unless the variable CMAKE_MODULE_EXISTS is set just
    67 # so unless the variable CMAKE_MODULE_EXISTS is set just
    68 # copy the values from the LIBRARY variables
    68 # copy the values from the LIBRARY variables