librdkafka由静态连接改为动态连接
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
add_library(pangu-http src/pangu_logger.cpp src/pangu_http.cpp src/pattern_replace.cpp src/pangu_web_cache.cpp)
|
||||
target_link_libraries(pangu-http common http tango-cache-client)
|
||||
target_link_libraries(pangu-http librdkafka-static ctemplate-static cjson pcre2-static)
|
||||
target_link_libraries(pangu-http maatframe)
|
||||
target_link_libraries(pangu-http PUBLIC common http tango-cache-client)
|
||||
target_link_libraries(pangu-http PUBLIC librdkafka ctemplate-static cjson pcre2-static pthread)
|
||||
target_link_libraries(pangu-http PUBLIC maatframe)
|
||||
|
||||
add_executable(test_pattern_replace src/test_pattern_replace.cpp src/pattern_replace.cpp)
|
||||
target_link_libraries(test_pattern_replace common gtest pcre2-static)
|
||||
file(COPY test_data DESTINATION ./)
|
||||
|
||||
add_executable(replace_tool src/replace_tool.cpp src/pattern_replace.cpp)
|
||||
target_link_libraries(replace_tool common pcre2-static)
|
||||
target_link_libraries(replace_tool common pcre2-static)
|
||||
|
||||
Reference in New Issue
Block a user