mirror of
https://github.com/OPM/ResInsight.git
synced 2025-01-01 03:37:15 -06:00
Avoid specific version info in URL for prebuild binaries for Windows
This commit is contained in:
parent
8b2d65e11a
commit
1417facef9
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user