-
Notifications
You must be signed in to change notification settings - Fork 369
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
Cmake config is broken. #231
Comments
This question drags in a lot of vcpkg particularities. More general (microsoft/vcpkg#30980 (comment)), please solve this problem and inconsistency: Target
Consistent patterns would be:
I would recommend the first alternative, in particular because they are connected. |
Hey ! Is there any new about this issue ? I really need to use libonfig++ under Cmake with vcpkg. I'm not an advanced programmer, but it seams that all we need need is to rename the namespace. |
@mllusar You can use my PR temporarily microsoft/vcpkg#30980 |
Implemented in #234. |
Hi, I'm one of the maintainers of vcpkg, and we recently received a question about libconfg using cmake.
Issue:
There seems to be this problem with the exported cmake usage after we installed libconfig, it fails to link against
libconfig++
.Run command
./vcpkg install libconfig:x64-windows --head
and output:For this reason, I made a patch to separate
libconfig
andlibconfig++
.However, from the code structure,
libconfig
does not seem to be separated, but is linked tolibconfig++
.BUt, it was broken.
libconfig/lib/CMakeLists.txt
Line 144 in 4f13b7f
libconfig/lib/CMakeLists.txt
Line 152 in 4f13b7f
Reproduce steps:
CMakeLists.txt
Error:
Related vcpkg issue and PR:
microsoft/vcpkg#30906
microsoft/vcpkg#30980
@hyperrealm
The text was updated successfully, but these errors were encountered: