Skip to content

Commit

Permalink
CMake: Correctly detect and link GPGME into libdnf
Browse files Browse the repository at this point in the history
With the introduction of the Repo class, we now directly use GPGME
in libdnf, so we need to look for it and fail on configuring when it
is not found. This also will ensure libgpgme is linked into libdnf
during compilation.
  • Loading branch information
Conan-Kudo authored and m-blaha committed Sep 19, 2018
1 parent f47bbf0 commit 4b08ea3
Show file tree
Hide file tree
Showing 3 changed files with 411 additions and 1 deletion.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ endif ()
pkg_check_modules (CHECK REQUIRED check)
pkg_check_modules (REPO REQUIRED librepo)
pkg_check_modules (LIBMODULEMD REQUIRED modulemd)
FIND_PACKAGE(Gpgme REQUIRED)

FIND_PROGRAM (VALGRIND_PROGRAM NAMES valgrind PATH /usr/bin /usr/local/bin)

Expand Down
Loading

0 comments on commit 4b08ea3

Please sign in to comment.