File tree Expand file tree Collapse file tree 1 file changed +7
-10
lines changed Expand file tree Collapse file tree 1 file changed +7
-10
lines changed Original file line number Diff line number Diff line change @@ -12,13 +12,10 @@ target_include_directories(signing
1212 PUBLIC $<BUILD_INTERFACE:${PROJECT_SOURCE_DIR} >/src
1313)
1414
15- # won't work before project()! https://stackoverflow.com/a/39258832
16- if (CMAKE_SIZEOF_VOID_P EQUAL 4)
17- # GPGME requires this on 32-bit systems
18- # 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
20- message (WARNING "Building on 32-bit system, adding special gpgme definitions" )
21- target_compile_definitions (signing
22- PRIVATE -D_FILE_OFFSET_BITS=64 -DLARGEFILE_SOURCE
23- )
24- endif ()
15+ # GPGME requires this on 32-bit systems
16+ # https://www.gnupg.org/documentation/manuals/gpgme/Largefile-Support-_0028LFS_0029.html
17+ # probably an oversight by the distribution, it doesn't list these flags in gpgme.pc
18+ message (WARNING "Building on 32-bit system, enabling largefile support" )
19+ target_compile_definitions (signing
20+ PRIVATE -D_FILE_OFFSET_BITS=64 -DLARGEFILE_SOURCE
21+ )
You can’t perform that action at this time.
0 commit comments