diff options
author | Arto Kitula <arto.kitula@gmail.com> | 2017-11-07 00:54:35 +0300 |
---|---|---|
committer | Arto Kitula <arto.kitula@gmail.com> | 2017-11-07 00:54:35 +0300 |
commit | 956ee5e2658f3e823885f97668a75c48df34b765 (patch) | |
tree | cd1ea23b759c8f1485b8a9a26a81fe6bdf26f887 /CMakeLists.txt | |
parent | 66a6d160fe26c1bac7a5dd4cd26cb5fbd5cf348e (diff) |
macOS: remove old OpenMP lib stuff from cmake
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 0bef37072de..359e51adbb6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1422,10 +1422,6 @@ if(CMAKE_COMPILER_IS_GNUCC) elseif(CMAKE_C_COMPILER_ID MATCHES "Clang") - if(APPLE AND WITH_OPENMP) # we need the Intel omp lib linked here to not fail all tests due presence of -fopenmp ! - set(CMAKE_REQUIRED_FLAGS "-L${LIBDIR}/openmp/lib -liomp5") # these are only used for the checks - endif() - # strange, clang complains these are not supported, but then uses them. ADD_CHECK_C_COMPILER_FLAG(C_WARNINGS C_WARN_ALL -Wall) ADD_CHECK_C_COMPILER_FLAG(C_WARNINGS C_WARN_ERROR_IMPLICIT_FUNCTION_DECLARATION -Werror=implicit-function-declaration) |