Skip to content

Commit 83d733d

Browse files
committed
Added Static Linking for Release
1 parent ec17cec commit 83d733d

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@ project(GW)
33

44
set(CMAKE_CXX_STANDARD 26)
55

6+
if (MSVC)
7+
set(CMAKE_MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG:Debug>:Debug>")
8+
endif()
9+
610
file(GLOB_RECURSE SOURCES "src/*.cpp")
711
file(GLOB_RECURSE TESTS "tests/*.cpp")
812
add_executable(GW main.cpp ${SOURCES} ${TESTS})

0 commit comments

Comments
 (0)