qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From acon...@apache.org
Subject [1/4] qpid-proton git commit: PROTON-1333: CMake error if no C++ compiler avaliable [Forced Update!]
Date Tue, 25 Oct 2016 01:27:55 GMT
Repository: qpid-proton
Updated Branches:
  refs/heads/aconway-libuv-driver 37c101b50 -> 8dc69787a (forced update)


PROTON-1333: CMake error if no C++ compiler avaliable

Change if() statement to use variable name not quoted ${variable}.


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

Branch: refs/heads/aconway-libuv-driver
Commit: f83c70cc5b929161ead83567a048d3f6cb9a0dd4
Parents: f8c4c27
Author: Alan Conway <aconway@redhat.com>
Authored: Mon Oct 24 21:15:55 2016 -0400
Committer: Alan Conway <aconway@redhat.com>
Committed: Mon Oct 24 21:20:11 2016 -0400

----------------------------------------------------------------------
 proton-c/CMakeLists.txt | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/f83c70cc/proton-c/CMakeLists.txt
----------------------------------------------------------------------
diff --git a/proton-c/CMakeLists.txt b/proton-c/CMakeLists.txt
index 0b4f7e1..cba043a 100644
--- a/proton-c/CMakeLists.txt
+++ b/proton-c/CMakeLists.txt
@@ -110,13 +110,13 @@ elseif (SASL_IMPL STREQUAL none)
 endif ()
 
 # Set Compiler extra flags for Solaris when using SunStudio
-IF( ${CMAKE_CXX_COMPILER_ID} STREQUAL "SunPro" )
-    SET( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -mt" )
-ENDIF()
+if(CMAKE_CXX_COMPILER_ID STREQUAL "SunPro" )
+    set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -mt" )
+endif()
 
-IF( ${CMAKE_C_COMPILER_ID} STREQUAL "SunPro" )
-    SET( CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -mt" )
-ENDIF()
+if(CMAKE_C_COMPILER_ID STREQUAL "SunPro" )
+  set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -mt")
+endif()
 
 # Link in openssl if present
 if (SSL_IMPL STREQUAL openssl)
@@ -250,7 +250,7 @@ if (CMAKE_COMPILER_IS_GNUCC)
     set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fvisibility=hidden")
     set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fvisibility=hidden")
   endif (ENABLE_HIDE_UNEXPORTED_SYMBOLS)
-elseif (${CMAKE_CXX_COMPILER_ID} STREQUAL "SunPro")
+elseif (CMAKE_CXX_COMPILER_ID STREQUAL "SunPro")
   if (ENABLE_HIDE_UNEXPORTED_SYMBOLS)
     set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -xldscope=hidden")
     set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -xldscope=hidden")


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


Mime
View raw message