diff options
| author | tongzongzhen <[email protected]> | 2024-07-10 17:44:26 +0800 |
|---|---|---|
| committer | tongzongzhen <[email protected]> | 2024-07-10 17:44:26 +0800 |
| commit | d6210a56933597a4f479e0ecd5ed49ed2c7f079b (patch) | |
| tree | 2ccdcdf567be929e28010c1b8c3bc1769c3cabd0 /support | |
| parent | 9c989c18759903f09b155d86311fdecc36b15d42 (diff) | |
fix
Diffstat (limited to 'support')
| -rw-r--r-- | support/CMakeLists.txt | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/support/CMakeLists.txt b/support/CMakeLists.txt index c5a117d..e6e3881 100644 --- a/support/CMakeLists.txt +++ b/support/CMakeLists.txt @@ -80,9 +80,12 @@ set_property(TARGET MESA_prof_load PROPERTY IMPORTED_LOCATION ${MESA_FRAMEWORK_L set_property(TARGET MESA_prof_load PROPERTY INTERFACE_INCLUDE_DIRECTORIES ${MESA_FRAMEWORK_INCLUDE_DIR}) ##### kafka -add_library(rdkafka SHARED IMPORTED GLOBAL) -set_property(TARGET rdkafka PROPERTY IMPORTED_LOCATION ${MESA_FRAMEWORK_LIB_DIR}/librdkafka.so) -set_property(TARGET rdkafka PROPERTY INTERFACE_INCLUDE_DIRECTORIES ${MESA_FRAMEWORK_INCLUDE_DIR}/MESA) +find_package(PkgConfig REQUIRED) +pkg_check_modules(RDKAFKA REQUIRED rdkafka) +# strange here +message(STATUS "RDKAFKA_INCLUDE_DIRS: ${RDKAFKA_INCLUDE_DIRS}") +message(STATUS "RDKAFKA_LIBRARY_DIRS: ${RDKAFKA_LIBRARY_DIRS}") +message(STATUS "RDKAFKA_LIBRARIES: ${RDKAFKA_LIBRARIES}") ##### zlog ExternalProject_Add(zlog PREFIX zlog |
