aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libottery/CMakeLists.txt
blob: a2b3d8c0a05921defc3da975a974e224e802c886 (plain)
1
2
3
4
5
6
7
8
9
SET(OTTERYSRC            chacha_merged.c
                         ottery.c
                         ottery_cpuinfo.c
                         ottery_entropy.c
                         ottery_global.c)
ADD_LIBRARY(ottery STATIC ${OTTERYSRC})
if ("${CMAKE_C_COMPILER_ID}" STREQUAL "Clang" OR "${CMAKE_C_COMPILER_ID}" STREQUAL "GNU")
	set_target_properties(ottery PROPERTIES COMPILER_FLAGS "-O3")
endif ()