1 # kFreeBSD looks just like Linux.
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_LINK_C_FLAGS "-rdynamic")
6 SET(CMAKE_SHARED_LIBRARY_RUNTIME_C_FLAG "-Wl,-rpath,")
7 SET(CMAKE_SHARED_LIBRARY_RUNTIME_C_FLAG_SEP ":")
8 SET(CMAKE_SHARED_LIBRARY_SONAME_C_FLAG "-Wl,-soname,")
9 SET(CMAKE_SHARED_LIBRARY_SONAME_CXX_FLAG "-Wl,-soname,")
11 INCLUDE(Platform/UnixPaths)