We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b155545 + ee6465a commit c7151eeCopy full SHA for c7151ee
CMakeLists.txt
@@ -121,6 +121,10 @@ if(WIN32)
121
target_compile_definitions(EntropyCore PUBLIC WIN32_LEAN_AND_MEAN EntropyWindows)
122
if(MSVC)
123
target_compile_options(EntropyCore PRIVATE /W4)
124
+ # Use static runtime library to match vcpkg dependencies
125
+ set_property(TARGET EntropyCore PROPERTY MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG:Debug>:Debug>")
126
+ set_property(TARGET WorkContractExample PROPERTY MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG:Debug>:Debug>")
127
+ set_property(TARGET WorkGraphYieldableExample PROPERTY MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG:Debug>:Debug>")
128
endif()
129
else()
130
# Settings for non-Windows platforms (macOS, Linux)
0 commit comments