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.txt5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/methods/xsalsa20_poly1305/CMakeLists.txt b/src/methods/xsalsa20_poly1305/CMakeLists.txt
index f2129d6..36e486a 100644
--- a/src/methods/xsalsa20_poly1305/CMakeLists.txt
+++ b/src/methods/xsalsa20_poly1305/CMakeLists.txt
@@ -1,5 +1,4 @@
-add_library(method_xsalsa20_poly1305 OBJECT
+fastd_method(xsalsa20-poly1305 TRUE
xsalsa20_poly1305.c
)
-set_property(TARGET method_xsalsa20_poly1305 PROPERTY COMPILE_FLAGS "${FASTD_CFLAGS}")
-target_include_directories(method_xsalsa20_poly1305 PRIVATE ${NACL_INCLUDE_DIRS})
+fastd_method_include_directories(xsalsa20-poly1305 ${NACL_INCLUDE_DIRS})