This is an automated email from the ASF dual-hosted git repository.
pnoltes pushed a commit to branch hotfix/missing_celix_prefix_for_pubsub_alias
in repository https://gitbox.apache.org/repos/asf/celix.git
The following commit(s) were added to
refs/heads/hotfix/missing_celix_prefix_for_pubsub_alias by this push:
new a9699c1 Adds missing target link for pubsub interceptor tests
a9699c1 is described below
commit a9699c1d591994c62fe01c6aa7c28d9ee65c0bda
Author: Pepijn Noltes <[email protected]>
AuthorDate: Fri Aug 6 14:49:56 2021 +0200
Adds missing target link for pubsub interceptor tests
---
bundles/pubsub/integration/CMakeLists.txt | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/bundles/pubsub/integration/CMakeLists.txt
b/bundles/pubsub/integration/CMakeLists.txt
index bfc3a51..74d4909 100644
--- a/bundles/pubsub/integration/CMakeLists.txt
+++ b/bundles/pubsub/integration/CMakeLists.txt
@@ -831,6 +831,11 @@ function(add_celix_interceptors_test_for_psa_and_wire)
add_celix_bundle_dependencies(${TEST_TARGET_NAME} Celix::http_admin)
target_compile_definitions(${TEST_TARGET_NAME} PRIVATE
HTTP_ADMIN_BUNDLE_FILE="${HTTP_ADMIN_BUNDLE_FILE}")
endif ()
+
+ #Linking against zmq if present
+ if (TARGET ZMQ::lib AND TARGET CZMQ::lib)
+ target_link_libraries(${TEST_TARGET_NAME} PRIVATE ZMQ::lib CZMQ::lib)
+ endif ()
endfunction()