cmake_modules
cmake_modules copied to clipboard
provide a FindYamlCpp.cmake
seems useful after: https://github.com/ros-perception/image_common/pull/31
(plus, there were already problems between 0.3 and 0.5)
There is an open issue upstream: https://code.google.com/p/yaml-cpp/issues/detail?id=127
Even though there is some CMake code here: https://code.google.com/p/yaml-cpp/source/browse/
Should we comply to their notation ? YAML_CPP_INCLUDE_DIR and not YAML_CPP_INCLUDE_DIRS
Proof of concept that works for me here: https://github.com/ros/cmake_modules/pull/31
Ok, I'll have a look tomorrow. Sorry for the delay, this got lost in my inbox noise.
We can have a FindYAMLCpp.cmake, but we should fix the logic so it actually makes sense first.