GNU.cmake 347 B

12345678
  1. # GCC is the default compiler on GNU/Hurd.
  2. SET(CMAKE_DL_LIBS "dl")
  3. SET(CMAKE_SHARED_LIBRARY_C_FLAGS "-fPIC")
  4. SET(CMAKE_SHARED_LIBRARY_CREATE_C_FLAGS "-shared")
  5. SET(CMAKE_SHARED_LIBRARY_RUNTIME_C_FLAG "-Wl,-rpath,")
  6. SET(CMAKE_SHARED_LIBRARY_RUNTIME_C_FLAG_SEP ":")
  7. SET(CMAKE_SHARED_LIBRARY_SONAME_C_FLAG "-Wl,-soname,")
  8. INCLUDE(Platform/UnixPaths)