Commit 12363333 authored by Vladislav Vaintroub's avatar Vladislav Vaintroub

Fix annoying repetitive tokudb build warning, if MariaDB is build on non-Linux x64 system

parent 8fcc0bfe
...@@ -9,10 +9,9 @@ struct a d = { .b=1, .c=2 }; ...@@ -9,10 +9,9 @@ struct a d = { .b=1, .c=2 };
int main() { return 0; } int main() { return 0; }
" TOKUDB_OK) " TOKUDB_OK)
ELSE() ELSE()
IF(NOT CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") IF(CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND
MESSAGE(WARNING "Not Intel 64 bit CPU") CMAKE_VERSION VERSION_LESS "2.8.9")
ELSE() MESSAGE(STATUS "CMake 2.8.9 or higher is required by TokuDB")
MESSAGE(WARNING "Too old CMAKE VERSION. 2.8.9 or higher is required by TokuDB")
ENDIF() ENDIF()
ENDIF() ENDIF()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment