You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by gs...@apache.org on 2019/11/29 15:47:03 UTC
[qpid-proton] branch master updated: PROTON-2145: install static
cpp lib if enabled
This is an automated email from the ASF dual-hosted git repository.
gsim pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/qpid-proton.git
The following commit(s) were added to refs/heads/master by this push:
new b43a9dd PROTON-2145: install static cpp lib if enabled
b43a9dd is described below
commit b43a9ddc0c3496a0e1083df71e77018bb9b8a852
Author: Gordon Sim <gs...@redhat.com>
AuthorDate: Fri Nov 29 11:35:26 2019 +0000
PROTON-2145: install static cpp lib if enabled
---
cpp/CMakeLists.txt | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/cpp/CMakeLists.txt b/cpp/CMakeLists.txt
index fc36214..0708649 100644
--- a/cpp/CMakeLists.txt
+++ b/cpp/CMakeLists.txt
@@ -177,6 +177,7 @@ endif ()
add_library(qpid-proton-cpp SHARED ${qpid-proton-cpp-source})
if(BUILD_STATIC_LIBS)
add_library(qpid-proton-cpp-static STATIC ${qpid-proton-cpp-source})
+ set(STATIC_LIBS qpid-proton-cpp-static)
endif(BUILD_STATIC_LIBS)
target_link_libraries (qpid-proton-cpp LINK_PRIVATE ${PLATFORM_LIBS} qpid-proton-core qpid-proton-proactor ${CONNECT_CONFIG_LIBS})
@@ -192,7 +193,7 @@ set_target_properties (
## Install
-install(TARGETS qpid-proton-cpp
+install(TARGETS qpid-proton-cpp ${STATIC_LIBS}
EXPORT proton-cpp
RUNTIME DESTINATION bin
ARCHIVE DESTINATION ${LIB_INSTALL_DIR}
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org