You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Default behaviour for yaml-cpp install targets missing in README #1381
I struggled a lot to find out why the targets for yaml-cpp did not get installed, when fetching them like described in the README in the CMakeLists.txt of my own project.
Now I found out, that in this PR (#1007) it was changed to not be always ON by default to install the targets.
It would probably be really helpful to add a small comment to the README under the section 'How to integrate it within your project using CMake' that it could be necessary to add option(YAML_CPP_INSTALL ON) if yaml-cpp is not the top project, because it could save time for other developers as this feels like a pretty standard use case.
Activity
SGSSGene commentedon Mar 11, 2026
The opinions on the default behavior about the option differ a lot.
I rather not change any of the default values.
But adding a section in the README about the available options would be nice.