Closed
Description
aws-lambda-cpp builds using the previous version of CMakeList.txt with:
target_link_libraries(${PROJECT_NAME} PRIVATE ${CURL_LIBRARIES})
And produces errors using the newly release version with:
target_link_libraries(${PROJECT_NAME} PRIVATE CURL::libcurl)
The output for the second version is:
-- Configuring done
CMake Error at CMakeLists.txt:13 (add_library):
Target "aws-lambda-runtime" links to target "CURL::libcurl" but the target
was not found. Perhaps a find_package() call is missing for an IMPORTED
target, or an ALIAS target is missing?
CMake Error at CMakeLists.txt:13 (add_library):
Target "aws-lambda-runtime" links to target "CURL::libcurl" but the target
was not found. Perhaps a find_package() call is missing for an IMPORTED
target, or an ALIAS target is missing?
-- Generating done
-- Build files have been written to: /github/aws-lambda-cpp/built