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>2020-02-25 15:05:09 +0300
committerBrecht Van Lommel <brecht@blender.org>2020-02-26 20:13:14 +0300
commit22abc7f0808835d88ea244a1129ae4e98d87dc3b (patch)
tree58384291348714442eefd0d8ec557776ae84f4ec /intern/CMakeLists.txt
parent30b3bf2b5779b82bac146913b2066001ef9c7089 (diff)
Build: add compatibility between precompiled libraries and new glibc
On Linux, precompiled libraries may be made with a glibc version that is incompatible with the system libraries that Blender is built on. To solve this we add a few -ffast-math symbols that can be missing. Differential Revision: https://developer.blender.org/D6930
Diffstat (limited to 'intern/CMakeLists.txt')
-rw-r--r--intern/CMakeLists.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/intern/CMakeLists.txt b/intern/CMakeLists.txt
index a5605e875a8..4e780dc9f0f 100644
--- a/intern/CMakeLists.txt
+++ b/intern/CMakeLists.txt
@@ -76,3 +76,7 @@ endif()
if(WITH_QUADRIFLOW)
add_subdirectory(quadriflow)
endif()
+
+if(UNIX AND NOT APPLE)
+ add_subdirectory(libc_compat)
+endif()