Skip to content

Commit

Permalink
[cmake] Bump davix to 0.8.1:
Browse files Browse the repository at this point in the history
Fixes macOS 12 builds.
neon is gone, and curl is already part of davix.a (cern-fts/davix#93).
  • Loading branch information
Axel-Naumann committed Mar 30, 2022
1 parent 9cee6b1 commit 5a1e74d
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions builtins/davix/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,14 @@ find_package(libuuid REQUIRED)
find_package(LibXml2 REQUIRED)
find_package(OpenSSL REQUIRED)

set(DAVIX_VERSION "0.7.6")
set(DAVIX_VERSION "0.8.1")
set(DAVIX_URL "http://lcgpackages.web.cern.ch/lcgpackages/tarFiles/sources")
set(DAVIX_URLHASH "SHA256=fc9b5341d006482755684052328740449f2decc33ad7b5ba3e2c614fe602e6e2")
set(DAVIX_URLHASH "SHA256=3f42f4eadaf560ab80984535ffa096d3e88287d631960b2193e84cf29a5fe3a6")
set(DAVIX_PREFIX ${CMAKE_CURRENT_BINARY_DIR}/DAVIX-prefix)
set(DAVIX_LIBNAME ${CMAKE_STATIC_LIBRARY_PREFIX}davix${CMAKE_STATIC_LIBRARY_SUFFIX})

foreach(lib davix neon)
set(libname ${CMAKE_STATIC_LIBRARY_PREFIX}${lib}${CMAKE_STATIC_LIBRARY_SUFFIX})
list(APPEND DAVIX_LIBRARIES ${DAVIX_PREFIX}/lib/${libname})
endforeach()
set(DAVIX_LIBRARIES
${DAVIX_PREFIX}/lib/${CMAKE_STATIC_LIBRARY_PREFIX}davix${CMAKE_STATIC_LIBRARY_SUFFIX})

string(REPLACE "-Werror " "" DAVIX_CXX_FLAGS "${CMAKE_CXX_FLAGS} ")

Expand Down

0 comments on commit 5a1e74d

Please sign in to comment.