On 02/27/2013 12:36 AM, NoRulez wrote: > I think for the --tags option it is the same, isn't it? > > How can I set such option for the checkout/update command?
The --tags option belongs to "git fetch" and extra flags can be added for that by setting CTEST_GIT_UPDATE_OPTIONS before calling ctest_update. Try: set(CTEST_GIT_UPDATE_OPTIONS "--tags") ... ctest_update() Alternatively one may configure the Git repo with git config remote.origin.tagopt "--tags" so that "git fetch" does it automatically. -Brad -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake
