mirror of
https://github.com/jedisct1/minisign.git
synced 2025-04-03 19:07:41 +03:00
Define preprocess macros to enable extensions and support for large files
This commit is contained in:
parent
be2cc10844
commit
2ca0bea22f
1 changed files with 3 additions and 0 deletions
|
@ -20,6 +20,9 @@ endif(NOT CMAKE_BUILD_TYPE)
|
|||
include(CPack)
|
||||
include(CheckLibraryExists)
|
||||
|
||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -D_ALL_SOURCE -D_GNU_SOURCE")
|
||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64")
|
||||
|
||||
find_library(LIB_SODIUM NAMES sodium REQUIRED)
|
||||
|
||||
add_executable(minisign
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue