mirror of
https://github.com/jedisct1/minisign.git
synced 2025-04-04 11:27:42 +03:00
16 lines
361 B
CMake
16 lines
361 B
CMake
cmake_minimum_required(VERSION 2.8)
|
|
|
|
project(minisign C)
|
|
|
|
option(VERIFY_ONLY "verify-only" OFF)
|
|
|
|
include(CheckLibraryExists)
|
|
|
|
find_library(LIB_SODIUM NAMES sodium REQUIRED)
|
|
|
|
add_executable(minisign
|
|
src/minisign.c src/base64.c src/helpers.c src/get_line.c)
|
|
|
|
target_link_libraries(minisign ${LIB_SODIUM})
|
|
|
|
install(TARGETS minisign DESTINATION bin)
|