Skip to content

Commit

Permalink
ENH: call find_package(Git) from SetupThirdParty
Browse files Browse the repository at this point in the history
Call find_package(Git) directly from SetupThirdParty.cmake
instead of doing it in a seperate file.
  • Loading branch information
gzagaris committed Aug 3, 2017
1 parent 1b57d27 commit 30b3e05
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 48 deletions.
47 changes: 0 additions & 47 deletions cmake/thirdparty/SetupGit.cmake

This file was deleted.

6 changes: 5 additions & 1 deletion cmake/thirdparty/SetupThirdParty.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,11 @@
################################
# Git
################################
include(${BLT_ROOT_DIR}/cmake/thirdparty/SetupGit.cmake)
find_package(Git)
if (Git_FOUND)
message(STATUS "Git Executable: " ${GIT_EXECUTABLE} )
message(STATUS "Git Version: " ${GIT_VERSION_STRING} )
endif()

################################
# MPI
Expand Down

0 comments on commit 30b3e05

Please sign in to comment.