blob: 404db92abb743a2e3a5fcd96f1ec5ee85605db77 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
add_library(contrib-libs-libc_compat)
target_include_directories(contrib-libs-libc_compat PUBLIC
${CMAKE_SOURCE_DIR}/contrib/libs/libc_compat/include/readpassphrase
${CMAKE_SOURCE_DIR}/contrib/libs/libc_compat/include/random
)
target_include_directories(contrib-libs-libc_compat PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/libc_compat/include/readpassphrase
${CMAKE_SOURCE_DIR}/contrib/libs/libc_compat/include/random
)
target_sources(contrib-libs-libc_compat PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/libc_compat/string.c
${CMAKE_SOURCE_DIR}/contrib/libs/libc_compat/readpassphrase.c
${CMAKE_SOURCE_DIR}/contrib/libs/libc_compat/explicit_bzero.c
${CMAKE_SOURCE_DIR}/contrib/libs/libc_compat/getrandom.c
${CMAKE_SOURCE_DIR}/contrib/libs/libc_compat/memfd_create.c
${CMAKE_SOURCE_DIR}/contrib/libs/libc_compat/reallocarray.c
${CMAKE_SOURCE_DIR}/contrib/libs/libc_compat/strlcat.c
${CMAKE_SOURCE_DIR}/contrib/libs/libc_compat/strlcpy.c
)
|