Skip to content

Is there a argument to meson setup to not link with system library? #14654

Answered by eli-schwartz
moi15moi asked this question in Q&A
Discussion options

You must be logged in to vote
[{"name": "Freetype", "type": "cmake",

Notice that it is reporting it is a "cmake" type dependency. Harfbuzz has logic to find freetype using meson's FindXXX.cmake support, and this is being autodetected as a fallback even if you modify the pkg-config search path so that meson tries and fails to find it using pkg-config.

The reliable and expected way to totally disable a feature is indeed to pass the setup option to do so. Just changing the dependency search path, is a good way to force a specific version to be found -- but not very good at forcing it to be marked as missing.

There are, broadly speaking, four different ways to locate a dependency:

  • pkg-config (all dependencies)
  • cmake (al…

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@moi15moi
Comment options

Comment options

You must be logged in to vote
1 reply
@moi15moi
Comment options

Answer selected by moi15moi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants