Skip to content

Commit 176d603

Browse files
committed
MDEV-15462 TokuDB does not build on openSUSE
fix 5035971 don't rely on any specific engine checking order
1 parent e49c1d1 commit 176d603

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

storage/tokudb/CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,9 @@ IF(CMAKE_VERSION VERSION_LESS "2.8.9")
44
MESSAGE(STATUS "CMake 2.8.9 or higher is required by TokuDB")
55
ELSEIF(NOT HAVE_DLOPEN)
66
MESSAGE(STATUS "dlopen is required by TokuDB")
7-
ELSEIF(NOT TARGET perfschema)
7+
ELSEIF(PLUGIN_PERFSCHEMA MATCHES "^NO$")
88
MESSAGE(STATUS "Performance Schema is required by TokuDB")
9+
RETURN()
910
ELSEIF(CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" OR
1011
CMAKE_SYSTEM_PROCESSOR STREQUAL "amd64")
1112
# tokudb requires F_NOCACHE or O_DIRECT, and designated initializers

0 commit comments

Comments
 (0)