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:
authorCampbell Barton <ideasman42@gmail.com>2019-02-22 11:36:36 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-02-22 11:45:22 +0300
commitb6f8afc13a3116ecbc2c96199076d5d184ddce5a (patch)
tree0d1d293a56601be48b3d42383fafc8c4810519d4 /intern/clog/CMakeLists.txt
parent4da53fc3e3025e2d0c337ef4b1aee8f5a7d2c80c (diff)
C logging: make pthread use optional
There is no need for threading for makesrna/makesdna, disable it to avoid hassles linking build time utilities.
Diffstat (limited to 'intern/clog/CMakeLists.txt')
-rw-r--r--intern/clog/CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/intern/clog/CMakeLists.txt b/intern/clog/CMakeLists.txt
index e752ffdb623..479723c4cd6 100644
--- a/intern/clog/CMakeLists.txt
+++ b/intern/clog/CMakeLists.txt
@@ -32,4 +32,7 @@ set(SRC
CLG_log.h
)
+# Disabled for makesdna/makesrna.
+add_definitions(-DWITH_CLOG_PTHREADS)
+
blender_add_lib(bf_intern_clog "${SRC}" "${INC}" "${INC_SYS}")