diff options
Diffstat (limited to 'contrib/siphash/CMakeLists.txt')
-rw-r--r-- | contrib/siphash/CMakeLists.txt | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/contrib/siphash/CMakeLists.txt b/contrib/siphash/CMakeLists.txt deleted file mode 100644 index 85a16e82a..000000000 --- a/contrib/siphash/CMakeLists.txt +++ /dev/null @@ -1,12 +0,0 @@ -cmake_minimum_required(VERSION 2.6) - -set(SIPHASH_SRC siphash.c) -if ("${CMAKE_C_COMPILER_ID}" STREQUAL "Clang" OR "${CMAKE_C_COMPILER_ID}" STREQUAL "GNU") - set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -O3") -endif () -add_library(siphash STATIC "${SIPHASH_SRC}") - -add_executable(siphash-test EXCLUDE_FROM_ALL "siphash_test.c") -target_link_libraries(siphash-test siphash) -add_custom_target(check DEPENDS siphash-test) -add_custom_target(run-test COMMAND siphash-test DEPENDS siphash-test) |