diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2006-01-23 16:32:35 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2006-01-23 16:32:35 (GMT) |
commit | 6d65b482794ddf396471a6b878415bbb84e46f0c (patch) | |
tree | 348aab689f48644ba775c71462bfa8be6bba6cf9 | |
parent | b6dfe1e2a67389d1dee027203602e723096b804b (diff) | |
download | CMake-6d65b482794ddf396471a6b878415bbb84e46f0c.zip CMake-6d65b482794ddf396471a6b878415bbb84e46f0c.tar.gz CMake-6d65b482794ddf396471a6b878415bbb84e46f0c.tar.bz2 |
ENH: add kFreeBSD support
-rw-r--r-- | Modules/Platform/kFreeBSD.cmake | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Modules/Platform/kFreeBSD.cmake b/Modules/Platform/kFreeBSD.cmake new file mode 100644 index 0000000..79a0fe9 --- /dev/null +++ b/Modules/Platform/kFreeBSD.cmake @@ -0,0 +1,9 @@ +# kFreeBSD looks just like Linux. +SET(CMAKE_DL_LIBS "-ldl") +SET(CMAKE_SHARED_LIBRARY_C_FLAGS "-fPIC") +SET(CMAKE_SHARED_LIBRARY_CREATE_C_FLAGS "-shared") +SET(CMAKE_SHARED_LIBRARY_LINK_C_FLAGS "-rdynamic") +SET(CMAKE_SHARED_LIBRARY_RUNTIME_C_FLAG "-Wl,-rpath,") +SET(CMAKE_SHARED_LIBRARY_RUNTIME_C_FLAG_SEP ":") +SET(CMAKE_SHARED_LIBRARY_SONAME_C_FLAG "-Wl,-soname,") +SET(CMAKE_SHARED_LIBRARY_SONAME_CXX_FLAG "-Wl,-soname,") |