Merge pull request #2470 from dzenanz/main

Fix AWS SDK linking errors
This commit is contained in:
Ward Fisher 2022-08-16 12:27:33 -06:00 committed by GitHub
commit 12a9083fb3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -135,7 +135,7 @@ IF(ENABLE_PNETCDF AND PNETCDF)
ENDIF()
IF(ENABLE_S3_SDK)
# TARGET_LINK_DIRECTORIES(netcdf PUBLIC ${AWSSDK_LIB_DIR})
TARGET_LINK_DIRECTORIES(netcdf PUBLIC ${AWSSDK_LIB_DIR})
TARGET_LINK_LIBRARIES(netcdf ${AWS_LINK_LIBRARIES})
ENDIF()