Skip to content

Commit 5a5c4a1

Browse files
committed
updated pipelines
1 parent b6e41cf commit 5a5c4a1

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

CMakeLists.txt

+2-7
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,9 @@ endif()
1010

1111
option(MSVC_STATIC "Use static runtime libraries with MSVC" OFF)
1212

13-
if(MSVC AND MSVC_STATIC)
13+
if(MSVC_STATIC)
1414
message(STATUS "MSVC: Setting MT/MTd")
15-
# add_compile_options(
16-
# $<$<CONFIG:>:/MT>
17-
# $<$<CONFIG:Debug>:/MTd>
18-
# $<$<CONFIG:Release>:/MT>
19-
# )
20-
set(CMAKE_MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG:Debug>:Debug>")
15+
set(CMAKE_MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG:Debug>:Debug>")
2116
endif()
2217

2318
set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib)

0 commit comments

Comments
 (0)