CMake: Add option to link against system-wide Gflags library
[blender.git] / intern / cycles / cmake / external_libs.cmake
index 403a054096307832e7e0e4521faafbee09126508..68e7f0a6eac56149ba88454aa2abf68048d7d8c0 100644 (file)
@@ -137,11 +137,8 @@ if(CYCLES_STANDALONE_REPOSITORY)
 else()
        if(WIN32)
                set(GLOG_INCLUDE_DIRS ${CMAKE_SOURCE_DIR}/extern/glog/src/windows)
-               set(GFLAGS_INCLUDE_DIRS ${CMAKE_SOURCE_DIR}/extern/gflags/src)
        else()
                set(GLOG_INCLUDE_DIRS ${CMAKE_SOURCE_DIR}/extern/glog/src)
-               set(GFLAGS_INCLUDE_DIRS ${CMAKE_SOURCE_DIR}/extern/gflags/src)
        endif()
-       set(GFLAGS_NAMESPACE "gflags")
        set(LLVM_LIBRARIES ${LLVM_LIBRARY})
 endif()