← All tasks
cppzeux/pugixml #412Not a task: already works

CMakeLists.txt: CMAKE_MSVC_RUNTIME_LIBRARY and missing CMP0091

envgap__zeux__pugixml-412

01 / FAILURE SIGNATURE

As reported upstream

No identifying execution failure has been captured.
Not a benchmark task.
  • The project already builds and runs before the fix, so there is nothing to repair.

02 / ENVIRONMENT RECIPE

Base commit
a5991972bac72afb2f26c89abe79ba125dc9adfc
Manifest
CMakeLists.txt
Reproduce
Awaiting issue-specific recipe
Run under trace
Awaiting a meaningful runtime command

03 / ORIGINAL ISSUE TEXT

zeux/pugixml #412 · read the original issue
Hello, 

CMakeLists.txt uses the new (from 3.15) CMAKE_MSVC_RUNTIME_LIBRARY setting; sadly this doesn't seems to be honored unless CMP0091 is set to NEW



https://cmake.org/cmake/help/latest/policy/CMP0091.html#policy:CMP0091



Tested with cmake version 3.19.20122902-MSVC_2 and VS2019 on Windows.
Continue on GitHub ↗

04 / LABELS

Labels from the report text only; not yet run

No supported category has been assigned.

Label rules and the text that matched
[]