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:
authorSergey Sharybin <sergey.vfx@gmail.com>2017-04-21 15:26:25 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2017-04-21 15:36:34 +0300
commite4ab70da862b5852a6e3f7bab489bed8c3b18193 (patch)
tree065e30e1411348dc868fef3621c235e95a651d8d /source/blenderplayer/CMakeLists.txt
parent9c02990ac13a25968d8ec15da15129617d3f25d0 (diff)
CMake: Add option to build against system-wide Glog
Similar to previous commit for Gflags.
Diffstat (limited to 'source/blenderplayer/CMakeLists.txt')
-rw-r--r--source/blenderplayer/CMakeLists.txt5
1 files changed, 4 insertions, 1 deletions
diff --git a/source/blenderplayer/CMakeLists.txt b/source/blenderplayer/CMakeLists.txt
index e0afd84db82..bee76a12ee5 100644
--- a/source/blenderplayer/CMakeLists.txt
+++ b/source/blenderplayer/CMakeLists.txt
@@ -176,10 +176,13 @@ endif()
extern_rangetree
extern_wcwidth
bf_intern_libmv
- extern_glog
extern_sdlew
)
+ if(NOT WITH_SYSTEM_GLOG)
+ list(APPEND BLENDER_SORTED_LIBS extern_glog)
+ endif()
+
if(NOT WITH_SYSTEM_GFLAGS)
list(APPEND BLENDER_SORTED_LIBS extern_gflags)
endif()