From 00a72d21de58545ab18a55f861ae475a1aa3c78a Mon Sep 17 00:00:00 2001 From: Trung Tran Date: Mon, 11 Jun 2018 12:53:52 -0700 Subject: cmake: remove local FindGit.cmake cmake already supports find_package(Git), we are no longer need to maintain FindGit.cmake. --- host/cmake/Modules/UHDVersion.cmake | 2 ++ 1 file changed, 2 insertions(+) (limited to 'host/cmake/Modules/UHDVersion.cmake') diff --git a/host/cmake/Modules/UHDVersion.cmake b/host/cmake/Modules/UHDVersion.cmake index 9bef66d1c..9b05722a7 100644 --- a/host/cmake/Modules/UHDVersion.cmake +++ b/host/cmake/Modules/UHDVersion.cmake @@ -61,6 +61,8 @@ IF(GIT_FOUND) ELSE() MESSAGE(STATUS "Could not determine git branch. Probably building from tarball.") ENDIF() +ELSE(GIT_FOUND) + MESSAGE(WARNING "Could not detect git executable! Could not determine exact version of UHD!") ENDIF(GIT_FOUND) ######################################################################## -- cgit v1.2.3