Skip to content

Commit

Permalink
Always use MultiThreadedDLL
Browse files Browse the repository at this point in the history
  • Loading branch information
vespakoen committed Sep 12, 2023
1 parent f9ec320 commit 72775e0
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,7 @@ endforeach()
set(CMAKE_CXX_STANDARD 14)

if(MSVC)
if(USE_STANDALONE OR (DEFINED ENV{USE_STANDALONE} AND
"$ENV{USE_STANDALONE}" IN_LIST TRUTHY_VALUES))
set(CMAKE_MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG:Debug>:Debug>")
else()
set(CMAKE_MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG:Debug>:Debug>DLL")
endif()
set(CMAKE_MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG:Debug>:Debug>DLL")
endif()

# some options to set what is built:
Expand Down

0 comments on commit 72775e0

Please sign in to comment.