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 b6e41cf commit 5a5c4a1
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,9 @@ endif()

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

if(MSVC AND MSVC_STATIC)
if(MSVC_STATIC)
message(STATUS "MSVC: Setting MT/MTd")
# add_compile_options(
# $<$<CONFIG:>:/MT>
# $<$<CONFIG:Debug>:/MTd>
# $<$<CONFIG:Release>:/MT>
# )
set(CMAKE_MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG:Debug>:Debug>")
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 5a5c4a1

Please sign in to comment.