blob: edd435694747631f9913e93207c78e998fa7a7ba (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
find_package(OpenSSL)
add_library(restricted-aws-aws-c-cal)
target_include_directories(restricted-aws-aws-c-cal PUBLIC
${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-cal/include
)
target_include_directories(restricted-aws-aws-c-cal PRIVATE
${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-cal/include
)
target_link_libraries(restricted-aws-aws-c-cal PUBLIC
OpenSSL::OpenSSL
restricted-aws-aws-c-common
)
target_sources(restricted-aws-aws-c-cal PRIVATE
${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-cal/source/cal.c
${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-cal/source/der.c
${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-cal/source/ecc.c
${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-cal/source/hash.c
${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-cal/source/hmac.c
${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-cal/source/unix/openssl_platform_init.c
${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-cal/source/unix/opensslcrypto_ecc.c
${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-cal/source/unix/opensslcrypto_hash.c
${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-cal/source/unix/opensslcrypto_hmac.c
)
|