We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a0d7077 commit 5134b9aCopy full SHA for 5134b9a
CMakeLists.txt
@@ -6,7 +6,9 @@ set(CMAKE_CXX_STANDARD 17)
6
7
if (UNIX)
8
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -static -static-libgcc -static-libstdc++")
9
-endif (UNIX)
+elseif (MSVC)
10
+ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /MT")
11
+endif ()
12
13
set(SOURCE_FILES main.cpp config.cpp)
14
0 commit comments