Import 2017-06-07 23:51:09: master e301db00

Author Committer Branch Timestamp Parent
jcfr jcfr master 2017-03-10 19:00:40 master 2591d972
Affected Issues 0004311: git and svn not found building extensions
Changeset

COMP: Fix CMake extension build issue. See 0004311

This commit reverts r25552 (BUG: ExtensionBuildSystem: Ensure GIT_EXECUTABLE
set in SliceConfig is used) and implements a more robust workaround
for CMake issue #15448 [1] and fix Slicer issue 0004311

[1] https://gitlab.kitware.com/cmake/cmake/issues/15448
[2] https://www.na-mic.org/Bug/view.php?id=4311

Reviewed-by: Steve Pieper <pieper@bwh.harvard.edu>
Co-authored-by: Jean-Christophe Fillion-Robin <jchris.fillionr@kitware.com>

From: Isaiah Norton <inorton@bwh.harvard.edu>

git-svn-id: http://svn.slicer.org/Slicer4/trunk@25781 3bd1e089-480b-0410-8dfb-8563597acbee

mod - CMake/FindGit.cmake Diff File
mod - Extensions/CMake/CMakeLists.txt Diff File