You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@celix.apache.org by pn...@apache.org on 2018/01/30 19:30:34 UTC

[50/54] [abbrv] celix git commit: CELIX-417: Fixes pubsub mock test build configuration

CELIX-417: Fixes pubsub mock test build configuration


Project: http://git-wip-us.apache.org/repos/asf/celix/repo
Commit: http://git-wip-us.apache.org/repos/asf/celix/commit/49d0e356
Tree: http://git-wip-us.apache.org/repos/asf/celix/tree/49d0e356
Diff: http://git-wip-us.apache.org/repos/asf/celix/diff/49d0e356

Branch: refs/heads/develop
Commit: 49d0e3565af01b1528fd4424a10433c64eef3388
Parents: e08b428
Author: Pepijn Noltes <pe...@gmail.com>
Authored: Tue Jan 30 12:48:24 2018 +0100
Committer: Pepijn Noltes <pe...@gmail.com>
Committed: Tue Jan 30 12:48:24 2018 +0100

----------------------------------------------------------------------
 pubsub/mock/CMakeLists.txt | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/celix/blob/49d0e356/pubsub/mock/CMakeLists.txt
----------------------------------------------------------------------
diff --git a/pubsub/mock/CMakeLists.txt b/pubsub/mock/CMakeLists.txt
index e68b1cb..c441e21 100644
--- a/pubsub/mock/CMakeLists.txt
+++ b/pubsub/mock/CMakeLists.txt
@@ -33,7 +33,8 @@ if (CPPUTEST_FOUND)
             tst/pubsubmock_test.cc
             tst/run_tests.cc
         )
-        target_link_libraries(pubsubmock_test celix_pubsub_mock ${CPPUTEST_LIBRARY} ${CPPUTEST_EXT_LIBRARY} Celix::framework)
+        target_include_directories(pubsubmock_test PRIVATE ${CMAKE_CURRENT_LIST_DIR}/api)
+        target_link_libraries(pubsubmock_test pubsub_mock ${CPPUTEST_LIBRARY} ${CPPUTEST_EXT_LIBRARY} Celix::framework)
         add_test(NAME pubsubmock_test COMMAND pubsubmock_test)
     endif()
 endif()