Skip to content

Commit

Permalink
Add missing link against gpg-error to createrepo-cache (#3)
Browse files Browse the repository at this point in the history
This was discovered while packaging for Fedora. I'm not sure why it
wasn't a problem on Ubuntu.
  • Loading branch information
cottsay authored Aug 18, 2023
1 parent cf2172b commit c04f6c2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,12 @@ target_include_directories(createrepo-cache PUBLIC
target_include_directories(createrepo-cache SYSTEM PUBLIC
${CREATEREPO_C_INCLUDE_DIRS}
${GLIB2_INCLUDE_DIRS}
${GPG_ERROR_INCLUDE_DIRS}
${GPGME_INCLUDE_DIRS})
target_link_libraries(createrepo-cache PRIVATE
${CREATEREPO_C_LIBRARIES}
${GLIB2_LIBRARIES}
${GPG_ERROR_LIBRARIES}
${GPGME_LIBRARIES})
target_compile_definitions(createrepo-cache PRIVATE
-DG_LOG_DOMAIN="CREATEREPO_CACHE")
Expand Down

0 comments on commit c04f6c2

Please sign in to comment.