pineapple-src/externals/vcpkg/ports/aws-sdk-cpp/usage
2022-07-23 03:01:36 +02:00

12 lines
526 B
Text
Executable file

The package @PORT@:@TARGET_TRIPLET@ provides CMake targets:
When using AWSSDK, AWSSDK_ROOT_DIR must be defined by the user.
find_package(AWSSDK CONFIG COMPONENTS core dynamodb kinesis s3 REQUIRED)
target_include_directories(main PRIVATE ${AWSSDK_INCLUDE_DIRS})
target_link_libraries(main PRIVATE ${AWSSDK_LIBRARIES})
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)