celix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pnol...@apache.org
Subject [celix] branch hotfix/missing_celix_prefix_for_pubsub_alias updated: Adds missing target link for pubsub interceptor tests
Date Fri, 06 Aug 2021 12:50:13 GMT
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 <pepijnnoltes@gmail.com>
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()
 
 

Mime
View raw message