Skip to content

Commit b255611

Browse files
authored
Merge pull request #118 from JohanMabille/optional_aws
Made AWS an optional dependency
2 parents 6d8dd43 + 5f86c63 commit b255611

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -213,10 +213,10 @@ endif()
213213

214214
if (NOT DEFINED BUILD_SHARED_LIBS)
215215
set (BUILD_SHARED_LIBS ON)
216-
find_package(AWSSDK REQUIRED COMPONENTS s3)
216+
find_package(AWSSDK COMPONENTS s3)
217217
unset (BUILD_SHARED_LIBS)
218218
else ()
219-
find_package(AWSSDK REQUIRED COMPONENTS s3)
219+
find_package(AWSSDK COMPONENTS s3)
220220
endif ()
221221
message(STATUS "Trying to find AWS SDK for AWS S3 IO handler support")
222222
if(${AWSSDK_FOUND})

0 commit comments

Comments
 (0)