Skip to content

Commit 4f67a4a

Browse files
committed
Add the ZLIB changes too
1 parent 9c8112a commit 4f67a4a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -493,7 +493,7 @@ endif()
493493

494494
if(BUILD_TEST)
495495
# adding ZLIB because aws sdk static link seems to be broken when zlib is needed
496-
if(NOT WIN32)
496+
if(NOT WIN32 AND ENABLE_AWS_SDK_IN_TESTS)
497497
find_package(ZLIB REQUIRED)
498498
endif()
499499
add_subdirectory(tst)

0 commit comments

Comments
 (0)