summaryrefslogtreecommitdiffstats
path: root/src/libkmip/CMakeLists.txt
blob: af24fba3b6b9f895b60916c1d6e72175a0ae195c (plain)
1
2
3
4
5
6
7
8
9
10
set(libkmip_srcs
  kmip.c
  kmip_memset.c
  kmip_bio.c)

add_library(kmip STATIC ${libkmip_srcs})

IF (CMAKE_SYSTEM_NAME STREQUAL "Linux")
  LIST (APPEND SYSFLAGS -D_POSIX_C_SOURCE=1)
ENDIF ()