Skip to content

Commit e6daf8e

Browse files
committed
updated pipelines
1 parent 1168cfa commit e6daf8e

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

CMakeLists.txt

+8
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,14 @@ if (NOT CMAKE_BUILD_TYPE)
88
set(CMAKE_BUILD_TYPE Release)
99
endif()
1010

11+
if(MSVC)
12+
add_compile_options(
13+
$<$<CONFIG:>:/MT>
14+
$<$<CONFIG:Debug>:/MTd>
15+
$<$<CONFIG:Release>:/MT>
16+
)
17+
endif()
18+
1119
set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib)
1220
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib)
1321
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin)

0 commit comments

Comments
 (0)