Skip to content
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

Use pkg-config to detect svn and apr libraries #139

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

nega0
Copy link

@nega0 nega0 commented Feb 11, 2022

Adds Qt's pkg-config support to src/src.pro for detecting svn and apr libraries. Also includes build examples in the README using the existing style.

pros:

  • simpler config. less hard-coded paths.
  • macOS support

cons:

  • ugh. pkg-config. it want's to link all the things. requires additional dev/devel packages (eg liblz4-dev)
  • macOS support assumes Homebrew

Dealing with pkg-config's need to link all the things could be dealt with by using pkg-config directly but this would greatly complicate src/src.pro.

closes #135

Modifies `src/src.pro` to use Qt's pkg-config facilities to detect svn
and apr. For macOS, assumes the user is using Homebrew.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

svn.cpp:37:10: fatal error: 'apr_lib.h' file not found
1 participant