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 2020/02/03 22:17:40 UTC

[celix] branch feature/query_command updated: gh-144: Fixes cmake configuration for osx

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

pnoltes pushed a commit to branch feature/query_command
in repository https://gitbox.apache.org/repos/asf/celix.git


The following commit(s) were added to refs/heads/feature/query_command by this push:
     new 707c5a9  gh-144: Fixes cmake configuration for osx
707c5a9 is described below

commit 707c5a99a345190d203a7130b26f2edcda85e72f
Author: Pepijn Noltes <pe...@gmail.com>
AuthorDate: Mon Feb 3 23:16:46 2020 +0100

    gh-144: Fixes cmake configuration for osx
---
 bundles/shell/shell/test/CMakeLists.txt | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/bundles/shell/shell/test/CMakeLists.txt b/bundles/shell/shell/test/CMakeLists.txt
index 9e7023f..e1acdc6 100644
--- a/bundles/shell/shell/test/CMakeLists.txt
+++ b/bundles/shell/shell/test/CMakeLists.txt
@@ -22,7 +22,8 @@ add_executable(test_shell
     src/shell_tests.cpp
 )
 
-target_link_libraries(test_shell Celix::framework CURL::libcurl ${CPPUTEST_LIBRARY} Celix::shell_api)
+target_link_libraries(test_shell PRIVATE Celix::framework CURL::libcurl ${CPPUTEST_LIBRARY} Celix::shell_api)
+target_include_directories(test_shell PRIVATE ${CPPUTEST_INCLUDE_DIRS})
 add_dependencies(test_shell shell_bundle)
 target_compile_definitions(test_shell PRIVATE -DSHELL_BUNDLE_LOCATION=\"$<TARGET_PROPERTY:shell,BUNDLE_FILE>\")