diff options
author | Tor Didriksen <tor.didriksen@oracle.com> | 2014-11-11 10:58:47 +0100 |
---|---|---|
committer | Tor Didriksen <tor.didriksen@oracle.com> | 2014-11-11 10:58:47 +0100 |
commit | 9bd6e87545dbbba594e8d63c9bfb0c8a744ccbfe (patch) | |
tree | c381932bf5e510d69137e77b551d59534967e6f2 /CMakeLists.txt | |
parent | a9b61b0029713c3b567ca33be50ad5b2a44045fb (diff) | |
download | mariadb-git-9bd6e87545dbbba594e8d63c9bfb0c8a744ccbfe.tar.gz |
Bug#19890133 MAKE DIST USING BZR EXPORT EVEN FOR SOURCE DIR NOT A BZR REPO
For 'make dist': only use 'bzr export' if bzr root == ${CMAKE_SOURCE_DIR}
Same thing for git.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index d770dad3ab0..377ed31446b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -37,6 +37,9 @@ ENDIF() MESSAGE(STATUS "Running cmake version ${CMAKE_VERSION}") +# Will set GIT_EXECUTABLE and GIT_FOUND +FIND_PACKAGE(Git) + SET(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${CMAKE_SOURCE_DIR}/cmake) # First, decide about build type (debug or release) |