Comments (5)
On Windows, PkgConfig is not installed by default, and is - as far as I know - impossible to integrate to ninja (the default build tool for Visual Studio and Visual Studio Code). Therefore Cmake throws an error that PkgConfig is not found.
Your knowledge is wrong. Simply depend on port pkgconf
cmake should then find pkgconf unless or HOST and TARGET_TRIPLET are different which just requires setting VCPKG_USE_HOST_TOOLS to ON
from vcpkg.
Thank you. I didn't know that PkgConfig can be fulfilled by the port pkgconf
I tested and it builds now on Windows.
May I then suggest to add pkgconf as a dependency of the clipper2 port? Would it maybe break something on non-Windows platforms?
from vcpkg.
May I then suggest to add pkgconf as a dependency of the clipper2 port?
It is simply not a dependency of clipper2. It is a dependency for downstream users who want to use clipper via pkg-config. Alternative you could write a FindClipper2.cmake module which uses find_library
.
Would it maybe break something on non-Windows platforms?
Using manifest mode you can make the dependency on pkgconf platform dependent.
from vcpkg.
Thank you, I close the issue.
from vcpkg.
PkgConfig is ... impossible to integrate to ninja (the default build tool for Visual Studio and Visual Studio Code).
CMake's FindPkgConfig.cmake
is not prepared for multi-config generators.
from vcpkg.
Related Issues (20)
- [Joltphysics] I cannot pass version assert in code. HOT 1
- [zlib] Build error on x64-windows HOT 2
- [zlib] Build error on x64-windows HOT 1
- [libmount] Build error on x64-linux HOT 3
- Make a bot that can update the version database
- providing multiple vcpkg install options in manifest mode fails HOT 2
- [gettext-libintl] build failure with Clang HOT 5
- [libmount] libmount install failed with Can't exec "libtoolize" : No such file or directory HOT 2
- [google-cloud-cpp] missing CMake files for some features
- [openssl] Build error on x64-linux HOT 1
- build opencv3 error
- [gmp] Build error on x64-windows HOT 5
- [netcdf-c] build failure HOT 1
- Package: pango:[email protected]#4 HOT 3
- [aom] build failure HOT 1
- [libiconv] Build error on x64-windows HOT 1
- [libiconv] Build error on x64-windows HOT 2
- [physx] Build error on x64-linux HOT 1
- [<boost>] update to <1.85.0> HOT 1
- [poco] MTd link failure HOT 10
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vcpkg.