diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2016-02-06 19:19:47 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2016-02-06 19:21:55 +0300 |
commit | 2dba2b3d71d9781bce452c78a4f2c686169418b4 (patch) | |
tree | 34d33cffc5fb045f21ed2fec3d2fd74b1279210f /tests/gtests/blenlib/CMakeLists.txt | |
parent | 5508cc2d6319729d624b969a24c0a64286f34993 (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.txt | 6 |
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") |