Skip to content
Snippets Groups Projects
Verified Commit a1683532 authored by Lars Bilke's avatar Lars Bilke
Browse files

[cpm] Bump LibXml2 to 2.9.12 and build statically.

Will fix container runtime.
parent 906dcad6
No related branches found
No related tags found
No related merge requests found
...@@ -129,8 +129,8 @@ CPMFindPackage( ...@@ -129,8 +129,8 @@ CPMFindPackage(
NAME LibXml2 NAME LibXml2
GITHUB_REPOSITORY GNOME/libxml2 GITHUB_REPOSITORY GNOME/libxml2
VERSION ${ogs.minimum_version.libxml2} VERSION ${ogs.minimum_version.libxml2}
GIT_TAG f93ca3e140a371b26366f747a408588c631e0fd1 OPTIONS "BUILD_SHARED_LIBS OFF"
OPTIONS "LIBXML2_WITH_TESTS OFF" "LIBXML2_WITH_TESTS OFF"
"LIBXML2_WITH_PROGRAMS OFF" "LIBXML2_WITH_PROGRAMS OFF"
"LIBXML2_WITH_ICONV OFF" "LIBXML2_WITH_ICONV OFF"
"LIBXML2_WITH_ICU OFF" "LIBXML2_WITH_ICU OFF"
...@@ -142,6 +142,7 @@ CPMFindPackage( ...@@ -142,6 +142,7 @@ CPMFindPackage(
if(LibXml2_ADDED) if(LibXml2_ADDED)
add_library(LibXml2::LibXml2 ALIAS LibXml2) add_library(LibXml2::LibXml2 ALIAS LibXml2)
set(LIBXML2_INCLUDE_DIR ${LibXml2_SOURCE_DIR}) set(LIBXML2_INCLUDE_DIR ${LibXml2_SOURCE_DIR})
list(APPEND DISABLE_WARNINGS_TARGETS LibXml2)
endif() endif()
CPMAddPackage( CPMAddPackage(
......
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
"python": "3.6", "python": "3.6",
"snakemake": "5.27.4", "snakemake": "5.27.4",
"hdf5": "1.10.5", "hdf5": "1.10.5",
"libxml2": "2.9.10" "libxml2": "2.9.12"
}, },
"tested_version": { "tested_version": {
"ubuntu": "20.04", "ubuntu": "20.04",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment