cmake: make pre-built library discoverable via CMake configuration files (rebased to master)#13
Conversation
Co-Authored-By: Someone Serge <sergei.kozlukov@aalto.fi>
|
Sorry about the huge delay in looking at this PR. Is it still relevant? I am wondering if we can avoid adding a CMake-internal config file to the root directory ( |
b959023 to
c758087
Compare
|
Yes, it'd be much cleaner. Updated! |
|
Isn't it redundant to use |
|
AFAIK, we need two steps: first, generate a file that contains @PACKAGE_INIT@ (via file(WRITE ...)), and then generate the final config file that expands @PACKAGE_INIT@ (via configure_package_config_file(...)). This is necessary because configure_package_config_file(...) only accepts a file as input. |
|
In any case, this is just one idea to help move the original PR forward, so please feel free to adjust it as needed :) |
Hello, I'm creating this PR to help move forward with PR 7 in case the only blocker is that it hasn't been rebased onto the master branch. Please feel free to merge this PR or update the original PR by simply rebasing it.
Closing #7