You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by jr...@apache.org on 2018/07/05 12:08:23 UTC
qpid-proton git commit: PROTON-1867: Position the debug postfix
setting before calls to add_library
Repository: qpid-proton
Updated Branches:
refs/heads/master 65762fdd0 -> e6a3e5c8a
PROTON-1867: Position the debug postfix setting before calls to add_library
Project: http://git-wip-us.apache.org/repos/asf/qpid-proton/repo
Commit: http://git-wip-us.apache.org/repos/asf/qpid-proton/commit/e6a3e5c8
Tree: http://git-wip-us.apache.org/repos/asf/qpid-proton/tree/e6a3e5c8
Diff: http://git-wip-us.apache.org/repos/asf/qpid-proton/diff/e6a3e5c8
Branch: refs/heads/master
Commit: e6a3e5c8a8c9e53c5324a3c641a266792eb57b22
Parents: 65762fd
Author: Justin Ross <jr...@apache.org>
Authored: Thu Jul 5 04:50:58 2018 -0700
Committer: Justin Ross <jr...@apache.org>
Committed: Thu Jul 5 04:51:05 2018 -0700
----------------------------------------------------------------------
cpp/CMakeLists.txt | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/e6a3e5c8/cpp/CMakeLists.txt
----------------------------------------------------------------------
diff --git a/cpp/CMakeLists.txt b/cpp/CMakeLists.txt
index f341241..71b0a29 100644
--- a/cpp/CMakeLists.txt
+++ b/cpp/CMakeLists.txt
@@ -159,6 +159,10 @@ set_source_files_properties (
COMPILE_FLAGS "${LTO}"
)
+if (MSVC)
+ set (CMAKE_DEBUG_POSTFIX "d")
+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})
@@ -208,10 +212,6 @@ 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