Skip to content

Commit 407ce7e

Browse files
committed
Bug#25909943: CLANG BUILD WARNINGS IN LDAP AUTH PLUGIN
Fix various Wnon-virtual-dtor, Wpointer-bool-conversion and Wmissing-field-initializers build warnings. Also make WITH_AUTHENTICATION_LDAP a proper CMake option.
1 parent 7e4b990 commit 407ce7e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,8 @@ ENDIF()
305305
IF(NOT WITHOUT_SERVER)
306306
OPTION (WITH_UNIT_TESTS "Compile MySQL with unit tests" ON)
307307
ENDIF()
308-
308+
OPTION(WITH_AUTHENTICATION_LDAP
309+
"Report error if the LDAP authentication plugin cannot be built." OFF)
309310

310311
include(CheckCSourceCompiles)
311312
include(CheckCXXSourceCompiles)

0 commit comments

Comments
 (0)