biojppm / rapidyaml

Rapid YAML - a library to parse and emit YAML, and do it fast.
MIT License
564 stars 95 forks source link

Using the lib as submodule problems #463

Open 1vanK opened 3 weeks ago

1vanK commented 3 weeks ago

1) ryml-uninstall still exists even with RYML_INSTALL=OFF

2) ryml and c4 built with /MD in Debug configuration:

изображение

Test project: https://github.com/dviglo2d/format_benchmarks/tree/76d65f98517b6b94ab8f0cf3eafa05fa97ab3ab8

1vanK commented 3 weeks ago

You need add set(CMAKE_POLICY_DEFAULT_CMP0091 NEW) before

        set_property(TARGET ${target} PROPERTY
            MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG:Debug>:Debug>")