|
@ -49,7 +49,7 @@ if(CMAKE_COMPILER_IS_GNUCC) |
|
|
set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS} -g") |
|
|
set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS} -g") |
|
|
set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS} -O3") |
|
|
set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS} -O3") |
|
|
elseif(MSVC) |
|
|
elseif(MSVC) |
|
|
set(CMAKE_CXX_FLAGS "/MP /W3 /MT /GR- /GS- /D_WIN32_WINNT=0x0501 /DWINVER=0x0501") |
|
|
|
|
|
|
|
|
set(CMAKE_CXX_FLAGS "/MP /W3 /MT /GR- /GS- /EHsc /D_WIN32_WINNT=0x0501 /DWINVER=0x0501") |
|
|
set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS}") |
|
|
set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS}") |
|
|
set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS} /O2") |
|
|
set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS} /O2") |
|
|
endif() |
|
|
endif() |
|
|