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 <jr...@apache.org> Authored: Thu Jun 21 16:18:15 2018 -0700 Committer: Justin Ross <jr...@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-unsubscr...@qpid.apache.org For additional commands, e-mail: commits-h...@qpid.apache.org