[Cmake-commits] [cmake-commits] king committed CMakeDetermineSystem.cmake 1.29 1.30
cmake-commits at cmake.org
cmake-commits at cmake.org
Mon Oct 5 10:26:52 EDT 2009
Update of /cvsroot/CMake/CMake/Modules
In directory public:/mounts/ram/cvs-serv6044/Modules
Modified Files:
CMakeDetermineSystem.cmake
Log Message:
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.
Index: CMakeDetermineSystem.cmake
===================================================================
RCS file: /cvsroot/CMake/CMake/Modules/CMakeDetermineSystem.cmake,v
retrieving revision 1.29
retrieving revision 1.30
diff -C 2 -d -r1.29 -r1.30
*** CMakeDetermineSystem.cmake 28 Sep 2009 15:46:47 -0000 1.29
--- CMakeDetermineSystem.cmake 5 Oct 2009 14:26:50 -0000 1.30
***************
*** 26,29 ****
--- 26,30 ----
# IRIX IRIX
# Linux Linux
+ # GNU/kFreeBSD GNU/kFreeBSD
# NetBSD NetBSD
# OpenBSD OpenBSD
***************
*** 122,125 ****
--- 123,131 ----
ENDIF(${_PREFIX}_NAME MATCHES BSD.OS)
+ # fix for GNU/kFreeBSD, remove the GNU/
+ IF(${_PREFIX}_NAME MATCHES kFreeBSD)
+ SET(${_PREFIX}_NAME kFreeBSD)
+ ENDIF(${_PREFIX}_NAME MATCHES kFreeBSD)
+
# fix for CYGWIN which has windows version in it
IF(${_PREFIX}_NAME MATCHES CYGWIN)
More information about the Cmake-commits
mailing list