Skip to content

Commit e32b091

Browse files
authored
cmake: kafka: fix OAuth Bearer detection on Windows
Use "FLB_TLS" AS justifaction. Signed-off-by: BP Cheng <bp_cheng@hotmail.com>
1 parent 55a25b2 commit e32b091

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmake/kafka.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ endif()
3232
# - Windows: Built-in SASL, only needs SSL (no Cyrus SASL required)
3333
# - Linux/macOS: Needs both SSL and Cyrus SASL
3434
if(WIN32)
35-
if(WITH_SSL)
35+
if(FLB_TLS)
3636
set(FLB_SASL_OAUTHBEARER_ENABLED ON)
3737
else()
3838
set(FLB_SASL_OAUTHBEARER_ENABLED OFF)

0 commit comments

Comments
 (0)