You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
377 B
19 lines
377 B
file(GLOB_RECURSE SOURCES *.cpp)
|
|
file(GLOB_RECURSE HEADERS *.h)
|
|
|
|
find_library(GCRYPT_LIBRARY gcrypt)
|
|
find_library(GPG_ERROR_LIBRARY gpg-error)
|
|
|
|
add_library(openpgp
|
|
${SOURCES}
|
|
${HEADERS})
|
|
|
|
target_include_directories(openpgp
|
|
PUBLIC
|
|
${CMAKE_SOURCE_DIR}/monero/contrib/epee/include)
|
|
|
|
target_link_libraries(openpgp
|
|
PUBLIC
|
|
${GCRYPT_LIBRARY}
|
|
${GPG_ERROR_LIBRARY})
|