From 93ca68b50c9112748366de4573f6554b7368d7cc Mon Sep 17 00:00:00 2001 From: Sergey Sharybin Date: Fri, 12 Dec 2014 16:01:30 +0500 Subject: 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. --- intern/cycles/cmake/external_libs.cmake | 1 + 1 file changed, 1 insertion(+) (limited to 'intern/cycles/cmake') 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() -- cgit v1.2.3