You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by ac...@apache.org on 2018/11/02 20:46:26 UTC
[06/50] qpid-proton git commit: PROTON-1928: install static libraries
PROTON-1928: install static libraries
Project: http://git-wip-us.apache.org/repos/asf/qpid-proton/repo
Commit: http://git-wip-us.apache.org/repos/asf/qpid-proton/commit/407711aa
Tree: http://git-wip-us.apache.org/repos/asf/qpid-proton/tree/407711aa
Diff: http://git-wip-us.apache.org/repos/asf/qpid-proton/diff/407711aa
Branch: refs/heads/go1
Commit: 407711aacf377a9b576adcd3f12d5f5242c4bf2a
Parents: 0da413e
Author: Alan Conway <ac...@redhat.com>
Authored: Fri Sep 7 09:56:26 2018 -0400
Committer: Alan Conway <ac...@redhat.com>
Committed: Fri Sep 7 09:56:26 2018 -0400
----------------------------------------------------------------------
c/CMakeLists.txt | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/407711aa/c/CMakeLists.txt
----------------------------------------------------------------------
diff --git a/c/CMakeLists.txt b/c/CMakeLists.txt
index da68c4f..a16f46b 100644
--- a/c/CMakeLists.txt
+++ b/c/CMakeLists.txt
@@ -515,7 +515,10 @@ if (qpid-proton-proactor)
endif()
# Install executables and libraries
-install(TARGETS qpid-proton qpid-proton-core
+if (BUILD_STATIC_LIBS)
+ set(STATIC_LIBS qpid-proton-static qpid-proton-core-static)
+endif()
+install(TARGETS qpid-proton qpid-proton-core ${STATIC_LIBS}
EXPORT proton
RUNTIME DESTINATION bin
ARCHIVE DESTINATION ${LIB_INSTALL_DIR}
@@ -532,7 +535,10 @@ if (MSVC)
endif (MSVC)
if (HAS_PROACTOR)
- install(TARGETS qpid-proton-proactor
+ if (BUILD_STATIC_LIBS)
+ set(STATIC_LIBS qpid-proton-proactor-static)
+ endif()
+ install(TARGETS qpid-proton-proactor ${STATIC_LIBS}
EXPORT proton
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