Skip to content
This repository has been archived by the owner on Jun 10, 2022. It is now read-only.

Commit

Permalink
update cmake config
Browse files Browse the repository at this point in the history
  • Loading branch information
nmred committed Jun 2, 2017
1 parent c49dcb1 commit 4109f38
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions adbase/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,8 @@ if (USEKAFKA)
ADD_LIBRARY(adbase_kafka_static STATIC ${LIBADBASE_KAFKA_SRC})
SET_TARGET_PROPERTIES(adbase_kafka PROPERTIES VERSION ${ADINFVERSION} SOVERSION ${ADINFSOVERSION})
SET_TARGET_PROPERTIES(adbase_kafka_static PROPERTIES OUTPUT_NAME "adbase_kafka")
TARGET_LINK_LIBRARIES(adbase_kafka adbase event rdkafka++ rdkafka pthread lz4)
TARGET_LINK_LIBRARIES(adbase_kafka_static adbase librdkafka++.a librdkafka.a pthread lz4)
TARGET_LINK_LIBRARIES(adbase_kafka adbase event rdkafka++ rdkafka pthread)
TARGET_LINK_LIBRARIES(adbase_kafka_static adbase librdkafka++.a librdkafka.a pthread)
INSTALL(TARGETS adbase_kafka adbase_kafka_static LIBRARY DESTINATION lib ARCHIVE DESTINATION lib)
endif()

Expand Down
2 changes: 1 addition & 1 deletion example/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ foreach(sourcefile ${APP_SOURCES} )
elseif(${exename} MATCHES "kafka*")
if (USEKAFKA)
add_executable( ${exename} ${sourcefile} )
target_link_libraries(${exename} adbase adbase_kafka librdkafka.a sasl2 ssl rt)
target_link_libraries(${exename} adbase adbase_kafka librdkafka.a rt)
endif()
elseif(${exename} MATCHES "lua*")
if (USELUA)
Expand Down

0 comments on commit 4109f38

Please sign in to comment.