This is an automated email from the ASF dual-hosted git repository.

pengzheng pushed a commit to branch feature/579-automatic-dependency-deduction
in repository https://gitbox.apache.org/repos/asf/celix.git

commit 9bc9aea8255963b06276d10949b22da663770573
Author: PengZheng <[email protected]>
AuthorDate: Tue Jul 11 09:41:51 2023 +0800

    Fix compilation error.
---
 bundles/logging/log_writers/syslog_writer/gtest/CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bundles/logging/log_writers/syslog_writer/gtest/CMakeLists.txt 
b/bundles/logging/log_writers/syslog_writer/gtest/CMakeLists.txt
index 81d04aec..87b4228e 100644
--- a/bundles/logging/log_writers/syslog_writer/gtest/CMakeLists.txt
+++ b/bundles/logging/log_writers/syslog_writer/gtest/CMakeLists.txt
@@ -19,7 +19,7 @@
 add_executable(test_syslog_writer
         src/SyslogWriterTestSuite.cc
 )
-target_link_libraries(test_syslog_writer PRIVATE GTest::gtest 
GTest::gtest_main)
+target_link_libraries(test_syslog_writer PRIVATE Celix::log_service_api 
GTest::gtest GTest::gtest_main)
 add_celix_bundle_dependencies(test_syslog_writer Celix::log_admin 
Celix::syslog_writer)
 target_compile_definitions(test_syslog_writer PRIVATE 
-DLOG_ADMIN_BUNDLE=\"$<TARGET_PROPERTY:log_admin,BUNDLE_FILE>\")
 target_compile_definitions(test_syslog_writer PRIVATE 
-DSYSLOG_WRITER_BUNDLE=\"$<TARGET_PROPERTY:syslog_writer,BUNDLE_FILE>\")

Reply via email to