[CMake] Unnecessary rebuild of ExternalProject_Add target
Jack Smith
smith.jack.sidman at gmail.com
Sun Feb 9 11:30:17 EST 2014
On Sun, Feb 9, 2014 at 4:10 PM, Jack Smith <smith.jack.sidman at gmail.com>wrote:
>
>
> ExternalProject_Add(
> grub
> GIT_REPOSITORY git://git.savannah.gnu.org/grub.git
> GIT_TAG grub-2.02-beta2
> UPDATE_COMMAND ""
> CONFIGURE_COMMAND ./autogen.sh && ./configure
> BUILD_COMMAND make -j 2
> BUILD_IN_SOURCE 1 # What's up with
> that !
> INSTALL_COMMAND ""
> )
>
My mistake. Reverting to non-parameterized version of the
ExternalProject_Add has highlighted the fact that my use of
set(PROGRAM_UPDATE_COMMAND "")
UPDATE_COMMAND=${PROGRAM_UPDATE_COMMAND}
results in no update command, rather than an empty update command. These
are of course different.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20140209/7a46b000/attachment.html>
More information about the CMake
mailing list