mirror of
https://github.com/jedisct1/minisign.git
synced 2025-04-03 19:07:41 +03:00
14 lines
322 B
CMake
14 lines
322 B
CMake
cmake_minimum_required(VERSION 2.8)
|
|
|
|
project(minisign C)
|
|
|
|
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)
|