-
Notifications
You must be signed in to change notification settings - Fork 988
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[bug] prefix in pkg-config (.pc) file is emtpy when in editable mode #12477
Comments
I don't get it, if this is expected behavior how can I get It work otherwise then? Seems to me as if the generation of the dependency's root path (=prefix) got lost somewhere on the road. |
I investigated further. package_folder is not defined anymore
I know that this AttributeError then was fixed by issue #11435 but my concern is why the package_folder variable isn't defined anymore. |
Hi @joastoe Sorry for the delay. Yes, you're right that it's a bug. CMake Error in CMakeLists.txt:
Imported target "PkgConfig::HELLO" includes non-existent path
"/../../../../../../../../../../develop/conan/mytest/include"
in its INTERFACE_INCLUDE_DIRECTORIES. Possible reasons include:
* The path was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and references files it does not
provide. I don't know if it'll be as simple as putting internally |
Hi @franramirez688 |
Closed by #12529 |
I just updated conan to version 1.53.0 and am surprised that my .pc files generated with PkgConfigDeps into build/generators contain an empty prefix. This only when in editable mode. I use the layout() feature.
With conan 1.44
With conan 1.53
Is this a bug or did I miss to migrate some variable in the layout() section.
Thanks
The text was updated successfully, but these errors were encountered: