diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2013-11-02 20:04:57 +0100 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2013-11-02 21:06:23 +0100 |
commit | d04123c9ed17d7a590702cd574e651aa78021a5c (patch) | |
tree | b71c7f3b365c90d15393c8d3becfc741015e0ced /src/methods/xsalsa20_poly1305 | |
parent | 8764a80ac01c5b37e6657db07bba7323e2a61906 (diff) | |
download | fastd-d04123c9ed17d7a590702cd574e651aa78021a5c.tar fastd-d04123c9ed17d7a590702cd574e651aa78021a5c.zip |
Make adding new methods a bit nicer
Diffstat (limited to 'src/methods/xsalsa20_poly1305')
-rw-r--r-- | src/methods/xsalsa20_poly1305/CMakeLists.txt | 5 |
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}) |