CMake: Add option to link against system-wide Gflags library
[blender.git] / tests / gtests / testing / CMakeLists.txt
index 796f975ea6561a1916a47d97d97b3311cfc9938f..defa51df6643088cbc9e6e3e6f310734f2d96b00 100644 (file)
@@ -24,7 +24,7 @@
 set(INC
        .
        ..
-       ../../../extern/gflags/src
+       ${GFLAGS_INCLUDE_DIRS}
        ../../../extern/gtest/include
 )