summaryrefslogtreecommitdiffstats
path: root/Modules/Platform/kFreeBSD.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2009-10-05 14:26:50 (GMT)
committerBrad King <brad.king@kitware.com>2009-10-05 14:26:50 (GMT)
commit451d68b7e3a2fab3db211e77832e9a2d3a76cdb2 (patch)
tree87946991cccaa2b4f55c1b29703b2df70391de94 /Modules/Platform/kFreeBSD.cmake
parent4e1d610224211386c01f27ab4f71d22046c44e4c (diff)
downloadCMake-451d68b7e3a2fab3db211e77832e9a2d3a76cdb2.zip
CMake-451d68b7e3a2fab3db211e77832e9a2d3a76cdb2.tar.gz
CMake-451d68b7e3a2fab3db211e77832e9a2d3a76cdb2.tar.bz2
Support GNU/kFreeBSD
GNU/kFreeBSD = FreeBSD kernel + userspace with glibc. Linux.cmake doesn't contain anything too OS specific, so we can forward to it. Here are outputs of /bin/uname on author's machine: uname -p ==> i386 uname -o ==> GNU/kFreeBSD uname -s ==> GNU/kFreeBSD uname -r ==> 5.4-1-686 Patch from Modestas Vainius. See issue #9659.
Diffstat (limited to 'Modules/Platform/kFreeBSD.cmake')
-rw-r--r--Modules/Platform/kFreeBSD.cmake12
1 files changed, 1 insertions, 11 deletions
diff --git a/Modules/Platform/kFreeBSD.cmake b/Modules/Platform/kFreeBSD.cmake
index b14514a..ff050de 100644
--- a/Modules/Platform/kFreeBSD.cmake
+++ b/Modules/Platform/kFreeBSD.cmake
@@ -1,12 +1,2 @@
# kFreeBSD looks just like Linux.
-SET(CMAKE_DL_LIBS "dl")
-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_RPATH_LINK_C_FLAG "-Wl,-rpath-link,")
-SET(CMAKE_SHARED_LIBRARY_SONAME_C_FLAG "-Wl,-soname,")
-SET(CMAKE_SHARED_LIBRARY_SONAME_CXX_FLAG "-Wl,-soname,")
-
-INCLUDE(Platform/UnixPaths)
+INCLUDE(Platform/Linux)