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 2017/09/01 15:03:39 UTC
[11/50] qpid-proton git commit: PROTON-1526: Ensure the module .so
file has no prefix; remove version-based rename
PROTON-1526: Ensure the module .so file has no prefix; remove version-based rename
Project: http://git-wip-us.apache.org/repos/asf/qpid-proton/repo
Commit: http://git-wip-us.apache.org/repos/asf/qpid-proton/commit/1b8dae76
Tree: http://git-wip-us.apache.org/repos/asf/qpid-proton/tree/1b8dae76
Diff: http://git-wip-us.apache.org/repos/asf/qpid-proton/diff/1b8dae76
Branch: refs/heads/go1
Commit: 1b8dae76d36167b9f3e0748968d9b6ee1da3bc20
Parents: fb43963
Author: Justin Ross <jr...@apache.org>
Authored: Tue Aug 8 13:58:38 2017 -0700
Committer: Justin Ross <jr...@apache.org>
Committed: Tue Aug 8 13:58:38 2017 -0700
----------------------------------------------------------------------
proton-c/bindings/perl/CMakeLists.txt | 14 +++-----------
1 file changed, 3 insertions(+), 11 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/1b8dae76/proton-c/bindings/perl/CMakeLists.txt
----------------------------------------------------------------------
diff --git a/proton-c/bindings/perl/CMakeLists.txt b/proton-c/bindings/perl/CMakeLists.txt
index 1356cce..744e812 100644
--- a/proton-c/bindings/perl/CMakeLists.txt
+++ b/proton-c/bindings/perl/CMakeLists.txt
@@ -54,20 +54,12 @@ list(APPEND SWIG_MODULE_cproton_perl_EXTRA_DEPS
${PROTON_HEADERS}
)
swig_add_module(cproton_perl perl perl.i)
+set_target_properties(cproton_perl PROPERTIES PREFIX "")
swig_link_libraries(cproton_perl ${BINDING_DEPS} ${PERL_LIBRARY})
-if ((${CMAKE_MAJOR_VERSION} EQUAL 2) AND (${CMAKE_MINOR_VERSION} LESS 8))
- install(FILES ${CMAKE_CURRENT_BINARY_DIR}/cproton_perl.so
+install(FILES ${CMAKE_CURRENT_BINARY_DIR}/cproton_perl.so
DESTINATION ${PERL_VENDORARCH_DIR}/auto/cproton_perl
- COMPONENT Perl
- )
-else()
- install(FILES ${CMAKE_CURRENT_BINARY_DIR}/libcproton_perl.so
- RENAME cproton_perl.so
- DESTINATION ${PERL_VENDORARCH_DIR}/auto/cproton_perl
- COMPONENT Perl
- )
-endif ((${CMAKE_MAJOR_VERSION} EQUAL 2) AND (${CMAKE_MINOR_VERSION} LESS 8))
+ COMPONENT Perl)
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/cproton_perl.pm
DESTINATION ${PERL_VENDORARCH_DIR}
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org