From: Vsevolod Stakhov Date: Wed, 28 Jan 2015 21:39:08 +0000 (+0000) Subject: Forgot to add. X-Git-Tag: 0.9.0~817^2~7 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=62c3edb0742cb95890150ab06b4a1d792a7fed68;p=rspamd.git Forgot to add. --- diff --git a/contrib/tweetnacl/CMakeLists.txt b/contrib/tweetnacl/CMakeLists.txt new file mode 100644 index 000000000..ac4f6e806 --- /dev/null +++ b/contrib/tweetnacl/CMakeLists.txt @@ -0,0 +1,8 @@ +cmake_minimum_required(VERSION 2.6) + +set(NACL_SRC tweetnacl.c) + +add_library(tweetnacl STATIC "${NACL_SRC}") +if ("${CMAKE_C_COMPILER_ID}" STREQUAL "Clang" OR "${CMAKE_C_COMPILER_ID}" STREQUAL "GNU") + set_target_properties(tweetnacl PROPERTIES COMPILER_FLAGS "-O3") +endif () \ No newline at end of file