We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 11a6e42 commit 0d2356fCopy full SHA for 0d2356f
src/CMakeLists.txt
@@ -42,10 +42,10 @@ add_library(${TARGET_NAME} ${CPPKAFKA_LIBRARY_TYPE} ${SOURCES})
42
set_target_properties(${TARGET_NAME} PROPERTIES VERSION ${CPPKAFKA_VERSION}
43
SOVERSION ${CPPKAFKA_VERSION})
44
# In CMake >= 3.15 Boost::boost == Boost::headers
45
-target_link_libraries(${TARGET_NAME} PRIVATE RdKafka::rdkafka Boost::boost)
+target_link_libraries(${TARGET_NAME} PUBLIC RdKafka::rdkafka Boost::boost)
46
if (WIN32)
47
# On windows ntohs and related are in ws2_32
48
- target_link_libraries(${TARGET_NAME} PRIVATE ws2_32.lib)
+ target_link_libraries(${TARGET_NAME} PUBLIC ws2_32.lib)
49
endif()
50
51
# Install cppkafka target and specify all properties needed for the exported file
0 commit comments