cmake-conan icon indicating copy to clipboard operation
cmake-conan copied to clipboard

[question] Handle cmake_paths generator?

Open target-san opened this issue 5 years ago • 1 comments
trafficstars

Hello,

"conan.cmake" script imports generated "conanbuildinfo.cmake" but completely ignores "conan_paths.cmake" which are generated if "cmake_paths" generator is used. Is there a recommended way to circumvent this without manually including it?

Thanks!

target-san avatar Apr 02 '20 11:04 target-san

Hi @target-san, Thanks for the suggestion. We'll have a look at it. For the moment have you tried to use it from the command line? https://docs.conan.io/en/latest/integrations/build_system/cmake/cmake_paths_generator.html#included-as-a-toolchain

czoido avatar Apr 14 '20 15:04 czoido