diff options
author | Vladislav Vaintroub <wlad@mariadb.com> | 2015-12-24 21:46:38 +0100 |
---|---|---|
committer | Vladislav Vaintroub <wlad@mariadb.com> | 2015-12-24 21:46:38 +0100 |
commit | 0f10a5c97ab79daa7350b227981924c1313c3c2a (patch) | |
tree | 32e3da059ea8d00f7fc390b62420048205835cd2 /storage | |
parent | 000eba94f50da12f154b734f2a36f5f37ecd6b4f (diff) | |
download | mariadb-git-0f10a5c97ab79daa7350b227981924c1313c3c2a.tar.gz |
Fix annoying repetitive tokudb build warning, if MariaDB is build on non-Linux x64 system
Diffstat (limited to 'storage')
-rw-r--r-- | storage/tokudb/CMakeLists.txt | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/storage/tokudb/CMakeLists.txt b/storage/tokudb/CMakeLists.txt index adadcdd9897..71014239990 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() |