Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2016-02-06 17:03:32 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2016-02-06 17:12:28 +0300
commite1f5b2b4c11a5081704e889c1800383868f6f855 (patch)
tree3d328203ff18a77c59037685d6243c12958737c6 /tests
parentd978f23f718d67bbae8b90d88361874fec9797ec (diff)
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.
Diffstat (limited to 'tests')
-rw-r--r--tests/gtests/testing/CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
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}")