Skip to content

Commit 11a6e42

Browse files
author
Alexander Damian
committed
Remove comment from config file relating to not finding the RdKafka config file.
1 parent c4b6a95 commit 11a6e42

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

cmake/config.cmake.in

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,7 @@ find_dependency(Boost REQUIRED)
1313
find_dependency(RdKafka QUIET CONFIG)
1414
set(RDKAFKA_TARGET_IMPORTS ${RdKafka_FOUND})
1515
if (NOT RdKafka_FOUND)
16-
message(STATUS "RdKafkaConfig.cmake not found. Attempting to find module instead...")
17-
find_dependency(RdKafka REQUIRED QUIET MODULE)
18-
if (NOT RdKafka_FOUND)
19-
message(FATAL_ERROR "RdKafka module not found. Please set RDKAFKA_ROOT to the install path or RDKAFKA_DIR pointing to the RdKafka configuration file location.")
20-
else()
21-
message(STATUS "RdKafka module found.")
22-
endif()
23-
else()
24-
message(STATUS "RdKafka configuration file found: ${RdKafka_CONFIG}")
16+
find_dependency(RdKafka REQUIRED MODULE)
2517
endif()
2618

2719
include("${CMAKE_CURRENT_LIST_DIR}/@TARGET_EXPORT_NAME@.cmake")

0 commit comments

Comments
 (0)