Avoid specific version info in URL for prebuild binaries for Windows

This commit is contained in:
Magne Sjaastad 2023-12-04 14:41:07 +01:00
parent 8b2d65e11a
commit 1417facef9

View File

@ -444,9 +444,11 @@ option(RESINSIGHT_BUILD_LIBS_FROM_SOURCE "Build opm-common from source" ON)
mark_as_advanced(RESINSIGHT_BUILD_LIBS_FROM_SOURCE)
if((NOT RESINSIGHT_BUILD_LIBS_FROM_SOURCE) AND MSVC)
# See description of URL here
# https://docs.github.com/en/repositories/releasing-projects-on-github/linking-to-releases
FetchContent_Declare(
ri-dependencies
URL https://github.com/CeetronSolutions/resinsight-dependencies/releases/download/2023.08/custom-opm-common.zip
URL https://github.com/CeetronSolutions/resinsight-dependencies/releases/latest/download/custom-opm-common.zip
)
FetchContent_Populate(ri-dependencies)