diff options
author | Campbell Barton <ideasman42@gmail.com> | 2015-09-02 17:41:07 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2015-09-02 18:24:25 +0300 |
commit | c8ebc8736ee6d211bd48d761374f9b5612584b90 (patch) | |
tree | 1b2e89ef4e6f5e6f412939b7e462623b4e5f1581 /build_files/cmake/buildinfo.cmake | |
parent | 6f5d1e257e727d73d62a1ab4efbbd9fa1332a4e6 (diff) |
CMake: Fix building w/o FindGit
Diffstat (limited to 'build_files/cmake/buildinfo.cmake')
-rw-r--r-- | build_files/cmake/buildinfo.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/build_files/cmake/buildinfo.cmake b/build_files/cmake/buildinfo.cmake index 756928a8448..81b0c1b1e23 100644 --- a/build_files/cmake/buildinfo.cmake +++ b/build_files/cmake/buildinfo.cmake @@ -10,7 +10,7 @@ set(MY_WC_COMMIT_TIMESTAMP 0) # Guess if this is a git working copy and then look up the revision if(EXISTS ${SOURCE_DIR}/.git) # The FindGit.cmake module is part of the standard distribution - include(FindGit) + find_package(Git) if(GIT_FOUND) message(STATUS "-- Found Git: ${GIT_EXECUTABLE}") |