2020-12-02 13:05:52 -08:00
|
|
|
The package @PORT@:@TARGET_TRIPLET@ provides CMake targets:
|
|
|
|
|
2021-10-22 03:36:19 -04:00
|
|
|
When using AWSSDK, AWSSDK_ROOT_DIR must be defined by the user.
|
2020-12-02 13:05:52 -08:00
|
|
|
find_package(AWSSDK CONFIG COMPONENTS core dynamodb kinesis s3 REQUIRED)
|
2021-01-21 21:03:37 -08:00
|
|
|
target_include_directories(main PRIVATE ${AWSSDK_INCLUDE_DIRS})
|
2020-12-02 13:05:52 -08:00
|
|
|
target_link_libraries(main PRIVATE ${AWSSDK_LIBRARIES})
|
2021-10-22 03:36:19 -04:00
|
|
|
|
|
|
|
OR
|
|
|
|
|
|
|
|
find_package(aws-cpp-sdk-core REQUIRED)
|
|
|
|
target_include_directories(main PRIVATE aws-cpp-sdk-core)
|
|
|
|
target_link_libraries(main PRIVATE aws-cpp-sdk-core)
|