From e1f5b2b4c11a5081704e889c1800383868f6f855 Mon Sep 17 00:00:00 2001 From: Sergey Sharybin Date: Sat, 6 Feb 2016 15:03:32 +0100 Subject: Fix GTests compilations on Windows Unfortunately this doesn't make all tests compilable due to all sort of weird and wonderful bad levels includes on Windows (G referenced from bf_blenlib) but at least allows to selectively build tests for now. --- tests/gtests/testing/CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tests/gtests') diff --git a/tests/gtests/testing/CMakeLists.txt b/tests/gtests/testing/CMakeLists.txt index 796f975ea65..1eb60e7f3b5 100644 --- a/tests/gtests/testing/CMakeLists.txt +++ b/tests/gtests/testing/CMakeLists.txt @@ -47,4 +47,7 @@ set(SRC testing.h ) +add_definitions(${GFLAGS_DEFINES}) +add_definitions(${GLOG_DEFINES}) + blender_add_lib(bf_testing_main "${SRC}" "${INC}" "${INC_SYS}") -- cgit v1.2.3