summaryrefslogtreecommitdiffstats
path: root/src/methods/xsalsa20_poly1305/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'src/methods/xsalsa20_poly1305/CMakeLists.txt')
-rw-r--r--src/methods/xsalsa20_poly1305/CMakeLists.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/methods/xsalsa20_poly1305/CMakeLists.txt b/src/methods/xsalsa20_poly1305/CMakeLists.txt
new file mode 100644
index 0000000..09b029c
--- /dev/null
+++ b/src/methods/xsalsa20_poly1305/CMakeLists.txt
@@ -0,0 +1,6 @@
+include_directories(BEFORE ${FASTD_SOURCE_DIR}/src ${FASTD_BINARY_DIR} ${NACL_INCLUDE_DIR})
+
+add_library(method_xsalsa20_poly1305 OBJECT
+ xsalsa20_poly1305.c
+)
+set_property(TARGET method_xsalsa20_poly1305 PROPERTY COMPILE_FLAGS "${FASTD_CFLAGS}")