This commit is contained in:
Frank Denis 2019-07-23 21:24:12 +02:00
parent 507c6f6781
commit 21a6f41c06

View file

@ -42,15 +42,15 @@ if(BUILD_STATIC_EXECUTABLES)
endif (NOT APPLE)
endif(BUILD_STATIC_EXECUTABLES)
find_package(PkgConfig REQUIRED)
pkg_check_modules(LIBSODIUM libsodium)
add_executable(minisign
src/base64.c
src/get_line.c
src/helpers.c
src/minisign.c)
find_package(PkgConfig REQUIRED)
pkg_check_modules(LIBSODIUM libsodium)
if(STATIC_LIBSODIUM)
if(BUILD_STATIC_EXECUTABLES)
set_target_properties(minisign PROPERTIES LINK_SEARCH_START_STATIC 1)