diff options
author | Sergei Golubchik <serg@mariadb.org> | 2018-02-14 12:35:47 +0100 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2018-02-21 17:48:25 +0100 |
commit | 50359719f0dd1f8f6d3d256a0db107654f8d39f1 (patch) | |
tree | aad9bd79d7ee623794642f0a4a77103e7583e4b5 | |
parent | 18455ec3f1a9c22977f0ed87233852813b53eb49 (diff) | |
download | mariadb-git-50359719f0dd1f8f6d3d256a0db107654f8d39f1.tar.gz |
fix compilation -DWITH_PERFSCHEMA=NO
tokudb apparently requires perfschema now
-rw-r--r-- | storage/tokudb/CMakeLists.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/storage/tokudb/CMakeLists.txt b/storage/tokudb/CMakeLists.txt index 7ea98728034..1cd86eb5808 100644 --- a/storage/tokudb/CMakeLists.txt +++ b/storage/tokudb/CMakeLists.txt @@ -4,6 +4,8 @@ IF(CMAKE_VERSION VERSION_LESS "2.8.9") MESSAGE(STATUS "CMake 2.8.9 or higher is required by TokuDB") ELSEIF(NOT HAVE_DLOPEN) MESSAGE(STATUS "dlopen is required by TokuDB") +ELSEIF(NOT TARGET perfschema) + MESSAGE(STATUS "Performance Schema is required by TokuDB") ELSEIF(CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" OR CMAKE_SYSTEM_PROCESSOR STREQUAL "amd64") # tokudb requires F_NOCACHE or O_DIRECT, and designated initializers |