diff options
author | Sergei Golubchik <serg@mariadb.org> | 2016-09-05 08:09:16 +0200 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2016-09-12 17:51:52 +0200 |
commit | 5ea5a7f7e79d78920fa76527fadfbec0c87f24c8 (patch) | |
tree | 72d4b611d659051e3ab33d1b3037d4b1fe7544b2 /CMakeLists.txt | |
parent | 79fa256eb2e5b5bacf4b15ef9dae1d738b2c4669 (diff) | |
download | mariadb-git-5ea5a7f7e79d78920fa76527fadfbec0c87f24c8.tar.gz |
auto-clone C/C, if possible
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 055be07025d..b51b2965c78 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -115,6 +115,11 @@ FOREACH(_base ENDIF() ENDFOREACH() +FOREACH(tool gtar tar git) + STRING(TOUPPER ${tool} TOOL) + FIND_PROGRAM(${TOOL}_EXECUTABLE ${tool} DOC "path to the executable") + MARK_AS_ADVANCED(${TOOL}_EXECUTABLE) +ENDFOREACH() # Following autotools tradition, add preprocessor definitions # specified in environment variable CPPFLAGS |