diff options
author | Lubomir I. Ivanov <neolit123@gmail.com> | 2015-04-18 00:31:12 +0300 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-04-17 15:25:47 -0700 |
commit | ed4fbb92d015dac03ecc47b3a377da1f54a1ec7c (patch) | |
tree | 6adfa8f383453b7e2d5d6f6c130b6b1fef0954ee /tests | |
parent | 39d0b5533d9dc03257181ee6796e51f370605656 (diff) | |
download | subsurface-ed4fbb92d015dac03ecc47b3a377da1f54a1ec7c.tar.gz |
cmake: add LIBGIT2_FROM_PKGCONFIG and LIBDC_FROM_PKGCONFIG
These two new options allow usage of pkg-config to retrieve
libdivecomputer and libgit2.
For some reason the variables *_LIBRARIES have to be set
to blank strings in the process, otherwise "-l" is passed to
the linker.
LIBGIT2_FROM_PKGCONFIG is a rename from PREFER_GIT_FROMSOURCE
for consistency. The IF() check is also fixed.
Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions