Skip to content

Commit 67636f8

Browse files
committed
Improve integration of gpgme
1 parent 20735ed commit 67636f8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/signing/CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ pkg_check_modules(gpgme gpgme>=1.10.0 REQUIRED IMPORTED_TARGET)
44

55
add_library(signing STATIC signaturevalidator.cpp)
66
target_link_libraries(signing
7-
PUBLIC PkgConfig::gpgme
7+
PRIVATE PkgConfig::gpgme
88
PRIVATE util
99
)
1010
# include the complete source to force the use of project-relative include paths
@@ -16,6 +16,7 @@ target_include_directories(signing
1616
if(CMAKE_SIZEOF_VOID_P EQUAL 4)
1717
# GPGME requires this on 32-bit systems
1818
# https://www.gnupg.org/documentation/manuals/gpgme/Largefile-Support-_0028LFS_0029.html
19+
# probably an oversight by the distribution, it doesn't list these flags in gpgme.pc
1920
message(WARNING "Building on 32-bit system, adding special gpgme definitions")
2021
target_compile_definitions(signing
2122
PRIVATE -D_FILE_OFFSET_BITS=64 -DLARGEFILE_SOURCE

0 commit comments

Comments
 (0)