summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorTimur Iskhodzhanov <timurrrr@google.com>2014-05-13 10:33:42 +0000
committerTimur Iskhodzhanov <timurrrr@google.com>2014-05-13 10:33:42 +0000
commit1188acc0561970e1f51bc02d14bd773f7aaad579 (patch)
tree958b688d4e7c8c710caec7b1c903b41702bb3550 /cmake
parent6bb33dd6761f60a21ec5a0d469aa19a7cd2a70bc (diff)
[ASan tests] Add Windows-specific flags to lib/asan/tests/CMakeLists.txt
Reviewed at http://reviews.llvm.org/D3720 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@208682 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'cmake')
-rw-r--r--cmake/config-ix.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmake/config-ix.cmake b/cmake/config-ix.cmake
index fe194d50d..9902b44f1 100644
--- a/cmake/config-ix.cmake
+++ b/cmake/config-ix.cmake
@@ -45,5 +45,6 @@ check_cxx_compiler_flag(/wd4722 COMPILER_RT_HAS_WD4722_FLAG)
check_symbol_exists(__func__ "" COMPILER_RT_HAS_FUNC_SYMBOL)
# Libraries.
+check_library_exists(m pow "" COMPILER_RT_HAS_LIBM)
check_library_exists(dl dlopen "" COMPILER_RT_HAS_LIBDL)
check_library_exists(pthread pthread_create "" COMPILER_RT_HAS_LIBPTHREAD)