MP-RAS.cmake 399 B

1234567891011121314
  1. if(CMAKE_SYSTEM MATCHES "MP-RAS-02*.")
  2. set(CMAKE_C_COMPILE_OPTIONS_PIC -K PIC)
  3. set(CMAKE_C_COMPILE_OPTIONS_PIE -K PIE)
  4. set(CMAKE_SHARED_LIBRARY_C_FLAGS "-K PIC")
  5. else()
  6. set(CMAKE_C_COMPILE_OPTIONS_PIC -K PIC)
  7. set(CMAKE_C_COMPILE_OPTIONS_PIE -K PIE)
  8. set(CMAKE_SHARED_LIBRARY_C_FLAGS "-K PIC")
  9. set(CMAKE_SHARED_LIBRARY_LINK_C_FLAGS "-Wl,-Bexport")
  10. endif()
  11. include(Platform/UnixPaths)