aboutsummaryrefslogtreecommitdiff
path: root/lib/gtest/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'lib/gtest/CMakeLists.txt')
-rw-r--r--lib/gtest/CMakeLists.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/gtest/CMakeLists.txt b/lib/gtest/CMakeLists.txt
index 621d0f0421..f7e27ac88b 100644
--- a/lib/gtest/CMakeLists.txt
+++ b/lib/gtest/CMakeLists.txt
@@ -91,6 +91,10 @@ cxx_library(gtest "${cxx_strict}" src/gtest-all.cc)
cxx_library(gtest_main "${cxx_strict}" src/gtest_main.cc)
target_link_libraries(gtest_main gtest)
+if(CORE_SYSTEM_NAME STREQUAL windowsstore)
+ set_target_properties(gtest PROPERTIES STATIC_LIBRARY_FLAGS "/ignore:4264")
+endif()
+
# If the CMake version supports it, attach header directory information
# to the targets for when we are part of a parent build (ie being pulled
# in via add_subdirectory() rather than being a standalone build).