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

[cpm] Replace Boost URL with a generated boost subset.

parent 79813062
No related branches found
No related tags found
No related merge requests found
...@@ -127,11 +127,10 @@ if(OGS_USE_MFRONT) ...@@ -127,11 +127,10 @@ if(OGS_USE_MFRONT)
endif() endif()
endif() endif()
string(REPLACE "." "_" BOOST_VERSION_UNDESCORE ${ogs.minimum_version.boost})
CPMFindPackage( CPMFindPackage(
NAME Boost NAME Boost
VERSION ${ogs.minimum_version.boost} VERSION ${ogs.minimum_version.boost}
URL https://boostorg.jfrog.io/artifactory/main/release/${ogs.minimum_version.boost}/source/boost_${BOOST_VERSION_UNDESCORE}.tar.gz URL https://gitlab.opengeosys.org/ogs/libs/boost-subset/-/jobs/187805/artifacts/raw/ogs-boost-${ogs.minimum_version.boost}.tar.gz
) )
if(Boost_ADDED) if(Boost_ADDED)
add_library(Boost::boost INTERFACE IMPORTED) add_library(Boost::boost INTERFACE IMPORTED)
......
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