Skip to content

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

Open
nega0 wants to merge 2 commits into
svn-all-fast-export:masterfrom
nega0:feature/pkgconfig
Open

Use pkg-config to detect svn and apr libraries#139
nega0 wants to merge 2 commits into
svn-all-fast-export:masterfrom
nega0:feature/pkgconfig

Conversation

@nega0

@nega0 nega0 commented Feb 11, 2022

Copy link
Copy Markdown

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