summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVladislav Vaintroub <wlad@mariadb.com>2015-12-24 21:46:38 +0100
committerVladislav Vaintroub <wlad@mariadb.com>2016-01-07 17:24:57 +0100
commit1236333333c351b93593b12c0e20b06313e4ac29 (patch)
treeddfe4ed52d1611caed3b2041d829f56dc246cd24
parent8fcc0bfefadcb4e9f7acb13d11661daeea5097f9 (diff)
downloadmariadb-git-1236333333c351b93593b12c0e20b06313e4ac29.tar.gz
Fix annoying repetitive tokudb build warning, if MariaDB is build on non-Linux x64 system
-rw-r--r--storage/tokudb/CMakeLists.txt7
1 files changed, 3 insertions, 4 deletions
diff --git a/storage/tokudb/CMakeLists.txt b/storage/tokudb/CMakeLists.txt
index d1f43d71f57..1b256ff100b 100644
--- a/storage/tokudb/CMakeLists.txt
+++ b/storage/tokudb/CMakeLists.txt
@@ -9,10 +9,9 @@ struct a d = { .b=1, .c=2 };
int main() { return 0; }
" TOKUDB_OK)
ELSE()
- IF(NOT CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64")
- MESSAGE(WARNING "Not Intel 64 bit CPU")
- ELSE()
- MESSAGE(WARNING "Too old CMAKE VERSION. 2.8.9 or higher is required by TokuDB")
+ IF(CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND
+ CMAKE_VERSION VERSION_LESS "2.8.9")
+ MESSAGE(STATUS "CMake 2.8.9 or higher is required by TokuDB")
ENDIF()
ENDIF()