"...git@developer.sourcefind.cn:OpenDAS/torch-scatter.git" did not exist on "6a2a503e376028fcdc87b85c6e08a3daadc412a4"
Unverified Commit 669af4eb authored by Michael Martz's avatar Michael Martz Committed by GitHub
Browse files

Make YAML_MSVC_SHARED_RT depend on "CMAKE_SYSTEM_NAME MATCHES Windows" instead of "MSVC".

Fixes issue #1053.
parent edadfecd
...@@ -29,7 +29,7 @@ cmake_dependent_option(YAML_CPP_INSTALL ...@@ -29,7 +29,7 @@ cmake_dependent_option(YAML_CPP_INSTALL
"CMAKE_SOURCE_DIR STREQUAL PROJECT_SOURCE_DIR" OFF) "CMAKE_SOURCE_DIR STREQUAL PROJECT_SOURCE_DIR" OFF)
cmake_dependent_option(YAML_MSVC_SHARED_RT cmake_dependent_option(YAML_MSVC_SHARED_RT
"MSVC: Build yaml-cpp with shared runtime libs (/MD)" ON "MSVC: Build yaml-cpp with shared runtime libs (/MD)" ON
"MSVC" OFF) "CMAKE_SYSTEM_NAME MATCHES Windows" OFF)
if (YAML_BUILD_SHARED_LIBS) if (YAML_BUILD_SHARED_LIBS)
set(yaml-cpp-type SHARED) set(yaml-cpp-type SHARED)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment