diff --git a/scripts/cmake/Dependencies.cmake b/scripts/cmake/Dependencies.cmake index 73c7c49e53f42604e11ec6422f3f4c7e299538ed..e290aa6933e4ef8f18eefc6cd22a23d9ccba6fdb 100644 --- a/scripts/cmake/Dependencies.cmake +++ b/scripts/cmake/Dependencies.cmake @@ -129,8 +129,8 @@ CPMFindPackage( NAME LibXml2 GITHUB_REPOSITORY GNOME/libxml2 VERSION ${ogs.minimum_version.libxml2} - GIT_TAG f93ca3e140a371b26366f747a408588c631e0fd1 - OPTIONS "LIBXML2_WITH_TESTS OFF" + OPTIONS "BUILD_SHARED_LIBS OFF" + "LIBXML2_WITH_TESTS OFF" "LIBXML2_WITH_PROGRAMS OFF" "LIBXML2_WITH_ICONV OFF" "LIBXML2_WITH_ICU OFF" @@ -142,6 +142,7 @@ CPMFindPackage( if(LibXml2_ADDED) add_library(LibXml2::LibXml2 ALIAS LibXml2) set(LIBXML2_INCLUDE_DIR ${LibXml2_SOURCE_DIR}) + list(APPEND DISABLE_WARNINGS_TARGETS LibXml2) endif() CPMAddPackage( diff --git a/web/data/versions.json b/web/data/versions.json index ba7c184a27140d5b1bf2cbe5cfb76c05d16e3a30..303e1de9f3eb0fb9ae08de07ec2007f6ac6cdcb0 100644 --- a/web/data/versions.json +++ b/web/data/versions.json @@ -21,7 +21,7 @@ "python": "3.6", "snakemake": "5.27.4", "hdf5": "1.10.5", - "libxml2": "2.9.10" + "libxml2": "2.9.12" }, "tested_version": { "ubuntu": "20.04",