Try to link shared again

pull/708/head
Michael 5 years ago
parent 4806e52f62
commit 42b951aa80
No known key found for this signature in database
GPG Key ID: 2D51757B47E2434C

@ -58,7 +58,8 @@ else()
enable_language(ASM)
endif(MSVC_VERSION)
add_compile_options(/EHca /arch:AVX2)
add_compile_options(/EHca /arch:AVX2 /MD)
add_compile_options(-Wno-inconsistent-dllimport)
add_definitions(-D_SILENCE_CXX17_OLD_ALLOCATOR_MEMBERS_DEPRECATION_WARNING)
add_definitions(-DGTEST_CREATE_SHARED_LIBRARY=1)
add_definitions(-DGTEST_LINKED_AS_SHARED_LIBRARY=1)

@ -19,7 +19,7 @@
#include "absl/base/config.h"
#ifdef _WIN32
#include <windows.h>
#include <Windows.h>
#else
#include <pthread.h>
#endif

@ -66,7 +66,7 @@
#if !defined(_MSC_VER)
#include <sys/time.h>
#else
#include <Winsock2.h>
#include <WinSock2.h>
#endif
#include <chrono> // NOLINT(build/c++11)
#include <cmath>

Loading…
Cancel
Save