tomlplusplus icon indicating copy to clipboard operation
tomlplusplus copied to clipboard

vcpkg is now difficult to use.

Open cmaughan opened this issue 1 year ago • 5 comments

The latest vcpkg for tomlplusplus now requires pkgconfig, which is a seperate install on windows. Previously I could just add tomlplusplus to my CMakelists.txt. I tried adding the extra PkgConfig stuff, and tried to install the extra findpackage binaries on windows, but gave up. I've just copied tomlplusplus into my tree.

cmaughan avatar Oct 02 '23 08:10 cmaughan

Ah that sucks. I don't know much about vcpkg but I'll look into at some point. Thanks for letting me know :)

marzer avatar Oct 02 '23 12:10 marzer

Installing pkgconfig using choco worked for me:

choco install pkgconfiglite

You could also use the vcpkg port for toml++ 3.1.0 which doesn't require PkgConfig.

davidharabagiu avatar Feb 05 '24 15:02 davidharabagiu

Is there any way of reverting the offending change? Taking a dependency on PkgConfig for a straight-forward library (it's usable as header-only) seems like massive overkill.

cdacamar avatar Feb 11 '24 03:02 cdacamar

+1 to this. The PkgConfig dependency on vcpkg seriously detracts from the allure of a header only library.

gkoreman avatar Apr 12 '24 16:04 gkoreman