yaml-cpp icon indicating copy to clipboard operation
yaml-cpp copied to clipboard

Minimize warnings when not the top-level project

Open BMBurstein opened this issue 3 years ago • 1 comments

Should fix #970 and #764 when trying to add yaml-cpp to other project

BMBurstein avatar Aug 04 '22 12:08 BMBurstein

You should use YAML_CPP_MAIN_PROJECT for consistency. https://github.com/jbeder/yaml-cpp/blob/c73ee34704c512ebe915b283645aefa9f424a22f/CMakeLists.txt#L12-L15

OlivierLDff avatar Aug 04 '22 14:08 OlivierLDff