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 11:58:01 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2017-04-21 13:01:27 +0300
commitc7a5c48cbad0062c55bf9fa6df2926646b2c3091 (patch)
treed53c082e2c1d58bea374017f435269ccc2892e7d /intern/cycles/app/CMakeLists.txt
parent55a3d48046377444a3c36ffe7a6164030d447f6f (diff)
CMake: Add option to link against system-wide Gflags library
It is disabled by default, so should not affect existing configurations. Main benefits of this goes as: - Linux distros can use that to avoid libraries duplication and link blender package against gflags package from the system. - It it easier to test whether Blender works with updated version of Gflags prior to re-bundling the library.
Diffstat (limited to 'intern/cycles/app/CMakeLists.txt')
-rw-r--r--intern/cycles/app/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/cycles/app/CMakeLists.txt b/intern/cycles/app/CMakeLists.txt
index aabb8f63640..231ef58f7ae 100644
--- a/intern/cycles/app/CMakeLists.txt
+++ b/intern/cycles/app/CMakeLists.txt
@@ -45,7 +45,7 @@ if(CYCLES_STANDALONE_REPOSITORY)
else()
list(APPEND LIBRARIES bf_intern_glew_mx bf_intern_guardedalloc)
if(WITH_CYCLES_LOGGING)
- list(APPEND LIBRARIES extern_glog extern_gflags)
+ list(APPEND LIBRARIES extern_glog ${GFLAGS_LIBRARIES})
endif()
endif()