Skip to content

Commit

Permalink
updated pipelines
Browse files Browse the repository at this point in the history
  • Loading branch information
ThoSe1990 committed Nov 13, 2024
1 parent 8166f3c commit b6e41cf
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,12 @@ option(MSVC_STATIC "Use static runtime libraries with MSVC" OFF)

if(MSVC AND MSVC_STATIC)
message(STATUS "MSVC: Setting MT/MTd")
add_compile_options(
$<$<CONFIG:>:/MT>
$<$<CONFIG:Debug>:/MTd>
$<$<CONFIG:Release>:/MT>
)
# add_compile_options(
# $<$<CONFIG:>:/MT>
# $<$<CONFIG:Debug>:/MTd>
# $<$<CONFIG:Release>:/MT>
# )
set(CMAKE_MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG:Debug>:Debug>")
endif()

set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib)
Expand Down

0 comments on commit b6e41cf

Please sign in to comment.