Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,14 @@ endif()

message("current binary directory: ${CMAKE_CURRENT_BINARY_DIR}")

if(MSVC)
cmake_policy(SET CMP0091 NEW)
set(CMAKE_MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG:Debug>:Debug>DLL")
endif()

# For extra safety, you can also enforce the CUDA runtime to be shared/dynamic:
# set(CMAKE_CUDA_RUNTIME_LIBRARY SHARED)

project(
multi
HOMEPAGE_URL "https://gitlab.com/correaa/boost-multi"
Expand Down
Loading