diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2017-11-07 05:06:18 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2017-11-07 05:08:24 +0300 |
commit | 2440415bd32a11561a1b7a57f9740978b2f93bdf (patch) | |
tree | d6252c8470a53a4121f207520e4192fef99f049e /CMakeLists.txt | |
parent | 83de7c4094beb73036e71b5170502512c6936766 (diff) | |
parent | 0e3fd70d7ac62c12ed85d3a90266994fac26bad0 (diff) |
Merge branch 'master' into blender2.8
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 742383a9ded..40671071921 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1369,10 +1369,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) |