Fix build errors in VS2019

This commit is contained in:
Daniel Wolf 2019-05-24 22:35:38 +02:00
parent 80e04b36ab
commit 18f829d03d
3 changed files with 6 additions and 0 deletions

View File

@ -102,9 +102,13 @@ include_directories(SYSTEM "lib/tclap-1.2.1/include")
# ... Google Test
add_subdirectory("lib/googletest")
target_compile_options(gmock PRIVATE ${disableWarningsFlags})
set_target_properties(gmock PROPERTIES FOLDER lib)
target_compile_options(gmock_main PRIVATE ${disableWarningsFlags})
set_target_properties(gmock_main PROPERTIES FOLDER lib)
target_compile_options(gtest PRIVATE ${disableWarningsFlags})
set_target_properties(gtest PROPERTIES FOLDER lib)
target_compile_options(gtest_main PRIVATE ${disableWarningsFlags})
set_target_properties(gtest_main PROPERTIES FOLDER lib)
# ... GSL

View File

@ -2,6 +2,7 @@
#include <memory>
#include <mutex>
#include <functional>
// Class template for lazy initialization.
// Copies use reference semantics.

View File

@ -4,6 +4,7 @@
#include <memory>
#include <chrono>
#include <deque>
#include <string>
#define UNUSED(x) ((void)(x))