Skip to content

Commit

Permalink
Link statically on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
lolleko committed Jul 13, 2020
1 parent b02398c commit 8ee65ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ if (UNIX)
endif()
if ( MSVC )
#set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /Wall /WX")
set(CMAKE_CXX_FLAGS_RELEASE "/O3 /MD")
set(CMAKE_CXX_FLAGS_RELEASE "/O3 /MT")
endif()

if(DEFINED ENV{VCPKG_INSTALLATION_ROOT} AND NOT DEFINED CMAKE_TOOLCHAIN_FILE)
Expand Down

0 comments on commit 8ee65ea

Please sign in to comment.