qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jr...@apache.org
Subject qpid-proton git commit: PROTON-1867: Position the debug postfix setting before calls to add_library
Date Thu, 05 Jul 2018 12:08:23 GMT
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 <jross@apache.org>
Authored: Thu Jul 5 04:50:58 2018 -0700
Committer: Justin Ross <jross@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


Mime
View raw message