Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrecht Van Lommel <brecht@blender.org>2021-08-09 17:46:57 +0300
committerBrecht Van Lommel <brecht@blender.org>2021-08-09 17:50:31 +0300
commitff594715b8347e8d5d6a9f60e48ec7b170661962 (patch)
tree58a7eba812164ee5843cef0c3acd11edd93c7992 /build_files/build_environment/CMakeLists.txt
parent71e2c366f7d19d8fe4f160a60597e63692fdc7ca (diff)
Build: macOS library upgrade fixes
* Revert back to OpenMP 9.0.1 due to bug causing cloth physics test to fail. * Skip flex build on macOS to avoid link error, only reason we build this is due to old flex version on Linux CentOS 7. * Fix PNG cmake argument that expects lowercase on instead of ON. Ref T90507, T88438
Diffstat (limited to 'build_files/build_environment/CMakeLists.txt')
-rw-r--r--build_files/build_environment/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/build_files/build_environment/CMakeLists.txt b/build_files/build_environment/CMakeLists.txt
index 3a9574b4b2a..af1653de59a 100644
--- a/build_files/build_environment/CMakeLists.txt
+++ b/build_files/build_environment/CMakeLists.txt
@@ -84,7 +84,7 @@ include(cmake/openimageio.cmake)
include(cmake/tiff.cmake)
if(WIN32)
include(cmake/flexbison.cmake)
-else()
+elseif(UNIX AND NOT APPLE)
include(cmake/flex.cmake)
endif()
include(cmake/osl.cmake)