Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Unity-Technologies/bdwgc.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Maidanski <ivmai@mail.ru>2018-04-06 08:30:50 +0300
committerIvan Maidanski <ivmai@mail.ru>2018-04-06 08:30:50 +0300
commit60369c554a26e454a48b34abf6569990996026cf (patch)
tree1e4a272ef57d8d4230df96bb906206087f1aa959 /CMakeLists.txt
parente1ae196e15efb4370ccaabbc67d9a05e2b0f46c8 (diff)
Do not match kFreeBSD by FreeBSD host string pattern (CMake/configure)
(code refactoring of commit 686a66731) Issue #174 (bdwgc). * CMakeLists.txt [CMAKE_USE_PTHREADS_INIT && enable_handle_fork]: Replace ".*-.*-.*freebsd.*" to ".*-.*-freebsd.*". * configure.ac [$enable_handle_fork=auto && $THREADS=posix]: Replace "*-*-*freebsd*" to "*-*-freebsd*".
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index d4ce7823..214fa3b7 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -106,7 +106,7 @@ IF(CMAKE_USE_PTHREADS_INIT)
MESSAGE("Only on NetBSD 2.0 or later.")
ADD_DEFINITIONS("-D_PTHREADS")
ENDIF()
- IF( HOST MATCHES .*-.*-aix.*|.*-.*-cygwin.*|.*-.*-.*freebsd.*|.*-.*-haiku.*|.*-.*-hpux11.*|.*-.*-irix.*|.*-.*-kfreebsd.*-gnu|.*-.*-.*linux.*|.*-.*-netbsd.*|.*-.*-openbsd.*|.*-.*-osf.*|.*-.*-solaris.*)
+ IF( HOST MATCHES .*-.*-aix.*|.*-.*-cygwin.*|.*-.*-freebsd.*|.*-.*-haiku.*|.*-.*-hpux11.*|.*-.*-irix.*|.*-.*-kfreebsd.*-gnu|.*-.*-.*linux.*|.*-.*-netbsd.*|.*-.*-openbsd.*|.*-.*-osf.*|.*-.*-solaris.*)
IF(enable_handle_fork)
ADD_DEFINITIONS("-DHANDLE_FORK")
ENDIF(enable_handle_fork)