Skip to content

Commit 846f8f4

Browse files
authored
cmake: kafka: Use FLB_SYSTEM_WINDOWS to detect Windows
Signed-off-by: BP Cheng <[email protected]>
1 parent e32b091 commit 846f8f4

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
@@ -31,7 +31,7 @@ endif()
3131
# OAuth Bearer support:
3232
# - Windows: Built-in SASL, only needs SSL (no Cyrus SASL required)
3333
# - Linux/macOS: Needs both SSL and Cyrus SASL
34-
if(WIN32)
34+
if(FLB_SYSTEM_WINDOWS)
3535
if(FLB_TLS)
3636
set(FLB_SASL_OAUTHBEARER_ENABLED ON)
3737
else()

0 commit comments

Comments
 (0)