aboutsummaryrefslogtreecommitdiffstats
path: root/host/cmake/Modules/UHDVersion.cmake
diff options
context:
space:
mode:
authorTrung Tran <trung.tran@ettus.com>2018-06-11 12:53:52 -0700
committerMartin Braun <martin.braun@ettus.com>2018-06-12 09:33:14 -0700
commit00a72d21de58545ab18a55f861ae475a1aa3c78a (patch)
treebdba28646ddd61e9882652b46da6f32905b62324 /host/cmake/Modules/UHDVersion.cmake
parent65b0c339f5fe678375a878be7b656780fa721f28 (diff)
downloaduhd-00a72d21de58545ab18a55f861ae475a1aa3c78a.tar.gz
uhd-00a72d21de58545ab18a55f861ae475a1aa3c78a.tar.bz2
uhd-00a72d21de58545ab18a55f861ae475a1aa3c78a.zip
cmake: remove local FindGit.cmake
cmake already supports find_package(Git), we are no longer need to maintain FindGit.cmake.
Diffstat (limited to 'host/cmake/Modules/UHDVersion.cmake')
-rw-r--r--host/cmake/Modules/UHDVersion.cmake2
1 files changed, 2 insertions, 0 deletions
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)
########################################################################