aboutsummaryrefslogtreecommitdiff
path: root/scratchpad/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'scratchpad/CMakeLists.txt')
-rw-r--r--scratchpad/CMakeLists.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/scratchpad/CMakeLists.txt b/scratchpad/CMakeLists.txt
index d1e4223..c1e2c75 100644
--- a/scratchpad/CMakeLists.txt
+++ b/scratchpad/CMakeLists.txt
@@ -1,4 +1,6 @@
+find_package(Gcrypt REQUIRED)
+
add_executable(scratchpad
scratchpad.c
)
@@ -7,7 +9,12 @@ target_compile_options(scratchpad
PRIVATE -std=c99
)
+target_compile_options(scratchpad
+ PRIVATE ${Gcrypt_CFLAGS}
+)
+
target_link_libraries(scratchpad
PRIVATE cmix
PRIVATE cmix-crypto
+ PRIVATE ${Gcrypt_LIBRARIES}
)