qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From acon...@apache.org
Subject [34/41] qpid-proton git commit: PROTON-1867: Restore suffix for debug libs
Date Wed, 04 Jul 2018 15:58:06 GMT
PROTON-1867: Restore suffix for debug libs


Project: http://git-wip-us.apache.org/repos/asf/qpid-proton/repo
Commit: http://git-wip-us.apache.org/repos/asf/qpid-proton/commit/ba2975fc
Tree: http://git-wip-us.apache.org/repos/asf/qpid-proton/tree/ba2975fc
Diff: http://git-wip-us.apache.org/repos/asf/qpid-proton/diff/ba2975fc

Branch: refs/heads/go1
Commit: ba2975fc49da1761fd4c246d7898544b6b8c4c20
Parents: 170be2e
Author: Justin Ross <jross@apache.org>
Authored: Thu Jun 21 16:18:15 2018 -0700
Committer: Justin Ross <jross@apache.org>
Committed: Thu Jun 21 16:18:15 2018 -0700

----------------------------------------------------------------------
 cpp/CMakeLists.txt | 4 ++++
 1 file changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/ba2975fc/cpp/CMakeLists.txt
----------------------------------------------------------------------
diff --git a/cpp/CMakeLists.txt b/cpp/CMakeLists.txt
index 491394b..07faf95 100644
--- a/cpp/CMakeLists.txt
+++ b/cpp/CMakeLists.txt
@@ -208,6 +208,10 @@ install (FILES
   ${CMAKE_CURRENT_BINARY_DIR}/libqpid-proton-cpp.pc
   DESTINATION ${LIB_INSTALL_DIR}/pkgconfig)
 
+if (MSVC)
+  set (CMAKE_DEBUG_POSTFIX "d")
+endif ()
+
 if (DEFINED CMAKE_IMPORT_LIBRARY_PREFIX)
 set(PROTONCPPLIB ${CMAKE_IMPORT_LIBRARY_PREFIX}qpid-proton-cpp${CMAKE_IMPORT_LIBRARY_SUFFIX})
 set(PROTONCPPLIBDEBUG ${CMAKE_IMPORT_LIBRARY_PREFIX}qpid-proton-cpp${CMAKE_DEBUG_POSTFIX}${CMAKE_IMPORT_LIBRARY_SUFFIX})


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org


Mime
View raw message