diff options
author | Dale Stammen <dalestam@microsoft.com> | 2017-06-02 16:44:23 +0300 |
---|---|---|
committer | Anton Fedchin <anightik@gmail.com> | 2017-11-02 09:56:32 +0300 |
commit | 5837475de1f8a4cc0b444362dc4c01a5d05d84e3 (patch) | |
tree | 6a7fd72b2cfbfed763674a49f677142d4d714ca1 /lib/gtest | |
parent | a24f0496651638bdd0b3b57fd1f3391051bb52eb (diff) |
[win10] add uwp to cmake
Diffstat (limited to 'lib/gtest')
-rw-r--r-- | lib/gtest/CMakeLists.txt | 4 |
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). |