1include_directories(../../include)
2
3if (${ARCH} STREQUAL "arm")
4  set(
5    CHACHA_ARCH_SOURCES
6
7    chacha_vec_arm.S
8  )
9endif()
10
11add_library(
12  chacha
13
14  OBJECT
15
16  chacha_generic.c
17  chacha_vec.c
18
19  ${CHACHA_ARCH_SOURCES}
20)
21