File tree 2 files changed +7
-1
lines changed
2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ find_package(Tarantool REQUIRED)
14
14
15
15
set (STATIC_BUILD "OFF" CACHE BOOL "Link dependencies statically?" )
16
16
set (WITH_OPENSSL_1_1 "OFF" CACHE BOOL "Require openssl version >= 1.1?" )
17
+ set (WITH_GSSAPI "OFF" CACHE BOOL "Enable Kerberos (GSSAPI) support" )
17
18
set (ENABLE_ASAN "OFF" CACHE BOOL "Enable ASAN" )
18
19
set (ENABLE_UBSAN "OFF" CACHE BOOL "Enable UBSAN" )
19
20
@@ -47,6 +48,10 @@ if (APPLE)
47
48
set (LIBRDKAFKA_C_FLAGS "${LIBRDKAFKA_C_FLAGS} ${CMAKE_C_SYSROOT_FLAG} ${CMAKE_OSX_SYSROOT} " )
48
49
endif ()
49
50
51
+ if (WITH_GSSAPI)
52
+ set (LIBRDKAFKA_FLAGS ${LIBRDKAFKA_FLAGS} --enable-gssapi)
53
+ endif ()
54
+
50
55
if (STATIC_BUILD)
51
56
include (ExternalProject)
52
57
set (PATCHES_DIR "${CMAKE_SOURCE_DIR} /patches" )
Original file line number Diff line number Diff line change @@ -27,6 +27,7 @@ build = {
27
27
STATIC_BUILD = " $(STATIC_BUILD)" ,
28
28
ENABLE_ASAN = " $(ENABLE_ASAN)" ,
29
29
ENABLE_UBSAN = " $(ENABLE_UBSAN)" ,
30
- WITH_OPENSSL_1_1 = " $(WITH_OPENSSL_1_1)"
30
+ WITH_OPENSSL_1_1 = " $(WITH_OPENSSL_1_1)" ,
31
+ WITH_GSSAPI = " $(WITH_GSSAPI)" ,
31
32
}
32
33
}
You can’t perform that action at this time.
0 commit comments