diff options
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 8ef906ad00c..4ea112bfbe7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1001,10 +1001,11 @@ elseif(WIN32) # We want to support Vista level ABI for x64 if(NOT MSVC_VERSION VERSION_LESS 1700) add_definitions(-D_WIN32_WINNT=0x600) - add_definitions(-DOIIO_STATIC_BUILD) endif() endif() + add_definitions(-DOIIO_STATIC_BUILD) + set(CMAKE_CXX_FLAGS "/nologo /J /Gd /EHsc /MP" CACHE STRING "MSVC MT C++ flags " FORCE) set(CMAKE_C_FLAGS "/nologo /J /Gd /MP" CACHE STRING "MSVC MT C++ flags " FORCE) |