add zlib as project dependency
All checks were successful
BlockStorage/repertory_windows/pipeline/head This commit looks good
BlockStorage/repertory_osx/pipeline/head This commit looks good
BlockStorage/repertory_linux_builds/pipeline/head This commit looks good

This commit is contained in:
Scott E. Graves 2023-10-29 19:12:16 -05:00
parent 1b7e854f5f
commit 0331152569
6 changed files with 16 additions and 1 deletions

View File

@ -60,3 +60,5 @@ else()
set(CURL_LIBRARIES libcurl${DEBUG_EXTRA2}${CMAKE_STATIC_LIBRARY_SUFFIX})
add_dependencies(curl_project openssl_project)
endif()
add_dependencies(curl_project zlib_project)

View File

@ -45,3 +45,5 @@ else()
)
set(LIBSODIUM_LIBRARIES libsodium.a)
endif()
add_dependencies(libsodium_project zlib_project)

View File

@ -14,4 +14,7 @@ if (LINUX)
INSTALL_COMMAND make install
)
set(LIBUUID_LIBRARIES libuuid.a)
add_dependencies(libuuid_project zlib_project)
endif()

View File

@ -40,4 +40,6 @@ if (MACOS OR LINUX OR MINGW)
libcrypto.a
)
endif()
add_dependencies(openssl_project zlib_project)
endif()

View File

@ -80,3 +80,5 @@ endif()
if (MSVC OR LINUX OR MINGW)
add_dependencies(rocksdb_project curl_project)
endif()
add_dependencies(rocksdb_project zlib_project)

View File

@ -72,7 +72,11 @@ if (REPERTORY_ENABLE_TESTING)
)
add_project_executable(unittests "${UNITTEST_SOURCES}")
add_dependencies(unittests gtest_project)
add_dependencies(unittests
gtest_project
zlib_project
)
target_compile_definitions(unittests PUBLIC
GTEST_LINKED_AS_SHARED_LIBRARY=1
REPERTORY_TESTING