conan icon indicating copy to clipboard operation
conan copied to clipboard

[question] CMakeDeps Folder Is Auto Create? How Can I Config The Output Folder?

Open crystalsky opened this issue 3 years ago • 1 comments
trafficstars

  • [ x] I've read the CONTRIBUTING guide.

  • I found the CMakeDeps will generate the package cmake files to the buildfolder/generators

  • This folders is auto create by conan

  • How to modify the folder of the CMakeDeps Generator?

crystalsky avatar Jul 31 '22 05:07 crystalsky

Hi @crystalsky

Change it in the layout() method of the consuming conanfile.py https://docs.conan.io/en/latest/developing_packages/package_layout.html#package-layout

memsharded avatar Jul 31 '22 18:07 memsharded

Closing this question as responded, please re-open or create a new ticket if necessary.

memsharded avatar May 16 '23 23:05 memsharded