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 2017/11/29 19:51:03 UTC
celix git commit: CELIX-414: Adds usage of PRIVATE to
target_link_libraries for add_deploy CMake commands
Repository: celix
Updated Branches:
refs/heads/develop 78e435b97 -> edefb3f4d
CELIX-414: Adds usage of PRIVATE to target_link_libraries for add_deploy CMake commands
Project: http://git-wip-us.apache.org/repos/asf/celix/repo
Commit: http://git-wip-us.apache.org/repos/asf/celix/commit/edefb3f4
Tree: http://git-wip-us.apache.org/repos/asf/celix/tree/edefb3f4
Diff: http://git-wip-us.apache.org/repos/asf/celix/diff/edefb3f4
Branch: refs/heads/develop
Commit: edefb3f4db0e20c3b3f80828d3fa5d0f9a2179dc
Parents: 78e435b
Author: Pepijn Noltes <pe...@gmail.com>
Authored: Wed Nov 29 20:59:24 2017 +0100
Committer: Pepijn Noltes <pe...@gmail.com>
Committed: Wed Nov 29 20:59:24 2017 +0100
----------------------------------------------------------------------
cmake/cmake_celix/DeployPackaging.cmake | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/celix/blob/edefb3f4/cmake/cmake_celix/DeployPackaging.cmake
----------------------------------------------------------------------
diff --git a/cmake/cmake_celix/DeployPackaging.cmake b/cmake/cmake_celix/DeployPackaging.cmake
index 21944c9..781dacb 100644
--- a/cmake/cmake_celix/DeployPackaging.cmake
+++ b/cmake/cmake_celix/DeployPackaging.cmake
@@ -102,7 +102,7 @@ function(add_celix_container)
include_directories(${CELIX_INCLUDE_DIRS})
add_executable(${CONTAINER_TARGET} ${LAUNCHER_SRC})
set_target_properties(${CONTAINER_TARGET} PROPERTIES RUNTIME_OUTPUT_DIRECTORY ${CONTAINER_LOC})
- target_link_libraries(${CONTAINER_TARGET} ${CELIX_FRAMEWORK_LIBRARY} ${CELIX_UTILS_LIBRARY})
+ target_link_libraries(${CONTAINER_TARGET} PRIVATE ${CELIX_FRAMEWORK_LIBRARY} ${CELIX_UTILS_LIBRARY})
set(LAUNCHER "$<TARGET_FILE:${CONTAINER_TARGET}>")
endif ()