[Cycles/MSVC/Testing] Fix broken test code.
[blender.git] / tests / gtests / CMakeLists.txt
index a3860ce3e6769869dfd7c69bb1252a72ee5d413a..1d363f31119f38c2b0f5746e80b78fe3721cd88e 100644 (file)
@@ -4,6 +4,9 @@ if(WITH_GTESTS)
 
        Include(GTestTesting)
 
+       add_definitions(${GFLAGS_DEFINES})
+       add_definitions(${GLOG_DEFINES})
+
        # Otherwise we get warnings here that we cant fix in external projects
        remove_strict_flags()