You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1234567 |
- cmake_minimum_required(VERSION 2.6)
-
- set(BLAKE_SRC blake2b-ref.c)
- add_library(blake2 STATIC "${BLAKE_SRC}")
- if ("${CMAKE_C_COMPILER_ID}" STREQUAL "Clang" OR "${CMAKE_C_COMPILER_ID}" STREQUAL "GNU")
- set_target_properties(blake2 PROPERTIES COMPILE_FLAGS "-O3")
- endif ()
|