diff options
author | Nick Lewycky <nicholas@mxc.ca> | 2010-06-23 06:48:34 +0000 |
---|---|---|
committer | Nick Lewycky <nicholas@mxc.ca> | 2010-06-23 06:48:34 +0000 |
commit | ec4c02d252b4f2b3dda053c9c7c894832c91dfca (patch) | |
tree | 5f52729c03867052550f23c9b1dc4c3e2e82bf5a /cmake | |
parent | d24c9d5f91442f893bebc2ea8d5ee845bc8b77a9 (diff) | |
download | external_llvm-ec4c02d252b4f2b3dda053c9c7c894832c91dfca.zip external_llvm-ec4c02d252b4f2b3dda053c9c7c894832c91dfca.tar.gz external_llvm-ec4c02d252b4f2b3dda053c9c7c894832c91dfca.tar.bz2 |
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')
-rwxr-xr-x | cmake/config-ix.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/config-ix.cmake b/cmake/config-ix.cmake index e72560b..d9450d9 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() |