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
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2016-02-06 19:19:47 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2016-02-06 19:21:55 +0300
commit2dba2b3d71d9781bce452c78a4f2c686169418b4 (patch)
tree34d33cffc5fb045f21ed2fec3d2fd74b1279210f /tests/gtests/blenlib/CMakeLists.txt
parent5508cc2d6319729d624b969a24c0a64286f34993 (diff)
Fix gtests on Windows/MSVC
There were some missing stubs and some tests were specifically written for Linux. Also, apparently MSVC has a limit of 64K for the insource strings..
Diffstat (limited to 'tests/gtests/blenlib/CMakeLists.txt')
-rw-r--r--tests/gtests/blenlib/CMakeLists.txt6
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/gtests/blenlib/CMakeLists.txt b/tests/gtests/blenlib/CMakeLists.txt
index 8f350f0b1a5..5e6bddcdeab 100644
--- a/tests/gtests/blenlib/CMakeLists.txt
+++ b/tests/gtests/blenlib/CMakeLists.txt
@@ -41,7 +41,11 @@ BLENDER_TEST(BLI_math_color "bf_blenlib")
BLENDER_TEST(BLI_math_geom "bf_blenlib;bf_intern_eigen")
BLENDER_TEST(BLI_math_base "bf_blenlib")
BLENDER_TEST(BLI_string "bf_blenlib")
-BLENDER_TEST(BLI_path_util "bf_blenlib;extern_wcwidth;${ZLIB_LIBRARIES}")
+if(WIN32)
+ BLENDER_TEST(BLI_path_util "bf_blenlib;bf_intern_utfconv;extern_wcwidth;${ZLIB_LIBRARIES}")
+else()
+ BLENDER_TEST(BLI_path_util "bf_blenlib;extern_wcwidth;${ZLIB_LIBRARIES}")
+endif()
BLENDER_TEST(BLI_polyfill2d "bf_blenlib;bf_intern_eigen")
BLENDER_TEST(BLI_listbase "bf_blenlib")
BLENDER_TEST(BLI_hash_mm2a "bf_blenlib")