From 581afee039e9d361f27a14865d4deae4f563b0eb Mon Sep 17 00:00:00 2001 From: vitaut Date: Wed, 13 Apr 2016 08:26:42 -0400 Subject: [PATCH] Enable wstring in gtest (#304) --- test/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index 199923b6..f898d523 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -8,6 +8,7 @@ add_library(gmock STATIC gmock-gtest-all.cc gmock/gmock.h gtest/gtest.h gtest/gtest-spi.h) target_compile_options(gmock PUBLIC ${CPP11_FLAG}) +target_compile_definitions(gmock PUBLIC GTEST_HAS_STD_WSTRING=1) target_include_directories(gmock PUBLIC .) find_package(Threads)