Closed inql closed 2 years ago
Hello, @inql! Thank's very much for finding and reporting this bug. Many thanks are also due for providing a fix as well, making my life easy :grinning:. I have pushed the fixed, hopefully it works as intended. I would be grateful if you could test it out (4b6ae29) just to confirm everything works as expected.
Everything works like a charm :smile:
But you should also check on .workflows
as they seem not to support conan (at least for ubuntu, needed to add it by myself).
I could apply some changes, but I'm not sure if I can contribute :)
You can always make a PR and we can discuss the changes you wish to see. However I would like to keep the actions as generic as possible (i.e. if you want to use Conan I assume you also know how to change the actions)
Describe the bug After installing conan with pip and enabling conan support for project, several things are not working properly:
${PROJECT_NAME}_CONAN_REQUIRES
and${PROJECT_NAME}_CONAN_OPTIONS
are not being detected.Already managed to fix that, so you can apply that @filipdutescu:
${CONAN_REQUIRES}
with${${PROJECT_NAME}_CONAN_REQUIRES}
inConan.cmake
- just a typo :) apply same for${CONAN_OPTIONS}
conan_basic_setup()
needs to be called withinConan.cmake
.To Reproduce Steps to reproduce the behavior:
cmake/StandardSettings.cmake
cmake/Conan.cmake
, likeset(${PROJECT_NAME}_CONAN_REQUIRES "boost/1.77.0")
#include <boost/archive/text_oarchive.hpp>
ininclude/project/tmp.hpp
Expected behavior A clear and concise description of what you expected to happen.
Screenshots If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Additional context Add any other context about the problem here.