[BUG] Conan not working ootb #28
Labels
acknowledged
The issue is being worked on
bug
Something isn't working
fixed
Bug has been fixed and the fix tested
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.
The text was updated successfully, but these errors were encountered: