Fix GTests compilations on Windows
[blender.git] / build_files / cmake / Modules / GTestTesting.cmake
index 16882a683a355e991dcda7a691b4178079533669..3ccca1f199c4ff259f987370077510d83077df4e 100644 (file)
@@ -29,6 +29,7 @@ macro(BLENDER_SRC_GTEST_EX NAME SRC EXTRA_LIBS DO_ADD_TEST)
                add_executable(${NAME}_test ${SRC})
                target_link_libraries(${NAME}_test
                                      ${EXTRA_LIBS}
                add_executable(${NAME}_test ${SRC})
                target_link_libraries(${NAME}_test
                                      ${EXTRA_LIBS}
+                                     ${PLATFORM_LINKLIBS}
                                      bf_testing_main
                                      bf_intern_guardedalloc
                                      extern_gtest
                                      bf_testing_main
                                      bf_intern_guardedalloc
                                      extern_gtest