Skip to content

Commit

Permalink
Fix AWS SDK linking errors
Browse files Browse the repository at this point in the history
The error messages were of the style:

LINK : fatal error LNK1181: cannot open input file 'aws-crt-cpp.lib'
  • Loading branch information
dzenanz committed Aug 3, 2022
1 parent b03988e commit bb1e0c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion liblib/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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()

Expand Down

0 comments on commit bb1e0c3

Please sign in to comment.