diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2014-12-12 14:01:30 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2014-12-31 23:31:08 +0300 |
commit | 93ca68b50c9112748366de4573f6554b7368d7cc (patch) | |
tree | a36a68066cfe5c8b94ea71be2d475bb4bd1d5337 /intern/cycles/cmake | |
parent | 405c0fddb47b766a1a16af3cd3dab9387f17d43d (diff) |
Cycles: Be ready for gflags namespace auto-detect
This way it is now possible to use gflags >= 2.1, where all the
functions were moved from google to gflags namespace.
This isn't currently used in blender, but for standalone repository
this change is essential.
Diffstat (limited to 'intern/cycles/cmake')
-rw-r--r-- | intern/cycles/cmake/external_libs.cmake | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/intern/cycles/cmake/external_libs.cmake b/intern/cycles/cmake/external_libs.cmake index 00c9b5179d6..d036f3e7ab9 100644 --- a/intern/cycles/cmake/external_libs.cmake +++ b/intern/cycles/cmake/external_libs.cmake @@ -136,4 +136,5 @@ else() set(GLOG_INCLUDE_DIRS ${CMAKE_SOURCE_DIR}/extern/libmv/third_party/glog/src) set(GFLAGS_INCLUDE_DIRS ${CMAKE_SOURCE_DIR}/extern/libmv/third_party/gflags) endif() + set(GFLAGS_NAMESPACE gflags) endif() |