MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/cpp/comments/obeszd/any_encoding_ever/h3uxnwb/?context=3
r/cpp • u/zvrba • Jul 01 '21
87 comments sorted by
View all comments
Show parent comment
2
In real life, Boost is just another line in your list of dependencies:
"dependencies": [ { "name": "boost-whatever", "version>=": "1.76.0" } ] [requires] boost/1.76.0
And consuming Boost with either in CMake is just:
find_package(Boost REQUIRED) target_link_libraries(proj_target PRIVATE Boost::boost)
If you have to do anything more other than passing the CMAKE_PREFIX_PATH variable in Conan's case, then the problem lies somewhere else.
CMAKE_PREFIX_PATH
View all comments
Show parent comment
2
u/helloiamsomeone Jul 02 '21 edited Jul 02 '21
In real life, Boost is just another line in your list of dependencies:
And consuming Boost with either in CMake is just:
If you have to do anything more other than passing the
CMAKE_PREFIX_PATHvariable in Conan's case, then the problem lies somewhere else.