Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit aac7675

Browse files
committed
cmake: Specify bundling of Kerberos auth plugin on MacOS
Note: The plugin is available starting from version 9.4.0
1 parent feb99da commit aac7675

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

jdbc/CMakeLists.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -419,10 +419,10 @@ set(AUTH_PLUGINS
419419

420420
if(NOT CMAKE_SYSTEM_NAME MATCHES "SunOS")
421421
list(APPEND AUTH_PLUGINS webauthn)
422-
# Note: Kerberos authentication plugin is not supported on macOS
423-
if(NOT APPLE)
424-
list(APPEND AUTH_PLUGINS kerberos)
425-
endif()
422+
endif()
423+
424+
if(APPLE AND MYSQL_VERSION VERSION_GREATER_EQUAL 9.4)
425+
list(APPEND AUTH_PLUGINS kerberos)
426426
endif()
427427

428428

0 commit comments

Comments
 (0)