summaryrefslogtreecommitdiff
path: root/cmake/config-ix.cmake
diff options
context:
space:
mode:
authorNick Lewycky <nicholas@mxc.ca>2010-06-23 06:48:34 +0000
committerNick Lewycky <nicholas@mxc.ca>2010-06-23 06:48:34 +0000
commitec4c02d252b4f2b3dda053c9c7c894832c91dfca (patch)
tree5f52729c03867052550f23c9b1dc4c3e2e82bf5a /cmake/config-ix.cmake
parentd24c9d5f91442f893bebc2ea8d5ee845bc8b77a9 (diff)
Don't link against libm and libpthread which don't exist in BeOS/Haiku. Also,
Haiku like Linux provides <regex.h>, so use it. Patch by Paul Davey! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@106620 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'cmake/config-ix.cmake')
-rwxr-xr-xcmake/config-ix.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/config-ix.cmake b/cmake/config-ix.cmake
index e72560bcef1..d9450d92585 100755
--- a/cmake/config-ix.cmake
+++ b/cmake/config-ix.cmake
@@ -4,7 +4,7 @@ include(CheckSymbolExists)
include(CheckFunctionExists)
include(CheckCXXSourceCompiles)
-if( UNIX )
+if( UNIX AND NOT BEOS )
# Used by check_symbol_exists:
set(CMAKE_REQUIRED_LIBRARIES m)
endif()