CMake: Add option to link against system-wide Gflags library
[blender.git] / intern / libmv / bundle.sh
index b1a4be84e53f0993c251e74de6cba14cbf48cdba..27e012f665f887ec8c0348817a23ceccac27dc43 100755 (executable)
@@ -122,7 +122,7 @@ if(WITH_LIBMV)
        add_definitions(\${CERES_DEFINES})
 
        list(APPEND INC
-               ../../extern/gflags/src
+               \${GFLAGS_INCLUDE_DIRS}
                ../../extern/glog/src
                ../../extern/ceres/include
                ../../extern/ceres/config