[CMake] Do build after GIT_TAG changed in ExternalProject_Add

typ1232 dummdoof-doof at web.de
Sat Apr 18 11:04:50 EDT 2015


Hello,

The command is used as follows:

INCLUDE(ExternalProject)
ExternalProject_Add(name
    GIT_REPOSITORY https://bitbucket.org/foo/bar.git
    GIT_TAG 0fcae6c2c975b309b38b8c84ac681b6bf3ae12e7
    CMAKE_ARGS ""
    INSTALL_COMMAND ""
)
This downloads and builds the project successfully, but if I change the
GIT_TAG value, cmake only checks out the other commit. The project is not
rebuilt.



--
View this message in context: http://cmake.3232098.n2.nabble.com/Do-build-after-GIT-TAG-changed-in-ExternalProject-Add-tp7590299.html
Sent from the CMake mailing list archive at Nabble.com.


More information about the CMake mailing list