Commit f8978634 authored by Ben Boeckel's avatar Ben Boeckel

smtk: track remote refs for checkouts

Works around an ExternalProject bug where it uses the local "master"
rather than updating it from the remote for existing source trees.
parent 2fe6abb4
......@@ -167,9 +167,9 @@ add_revision(gdal
#use smtk master so that we get v4 updates
option(SMTK_FROM_GIT "Build SMTK from git" ON)
if (SMTK_FROM_GIT)
set(smtk_tag "release-v1")
set(smtk_tag "origin/release-v1")
if (USE_SMTK_master)
set(smtk_tag "master")
set(smtk_tag "origin/master")
endif ()
# Download SMTK from GIT
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment