You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by gs...@apache.org on 2014/10/10 14:59:42 UTC

svn commit: r1630882 - /qpid/proton/branches/examples/CMakeLists.txt

Author: gsim
Date: Fri Oct 10 12:59:41 2014
New Revision: 1630882

URL: http://svn.apache.org/r1630882
Log:
NO-JIRA: Really make BUILD_WITH_CXX worl properly (sigh)

Modified:
    qpid/proton/branches/examples/CMakeLists.txt

Modified: qpid/proton/branches/examples/CMakeLists.txt
URL: http://svn.apache.org/viewvc/qpid/proton/branches/examples/CMakeLists.txt?rev=1630882&r1=1630881&r2=1630882&view=diff
==============================================================================
--- qpid/proton/branches/examples/CMakeLists.txt (original)
+++ qpid/proton/branches/examples/CMakeLists.txt Fri Oct 10 12:59:41 2014
@@ -26,6 +26,7 @@ if (CMAKE_BUILD_TYPE MATCHES "Deb")
 endif (CMAKE_BUILD_TYPE MATCHES "Deb")
 message(STATUS "Build type is \"${CMAKE_BUILD_TYPE}\"${has_debug_symbols}")
 
+project (Proton C)
 
 if (MSVC)
   # No C99 capability, use C++
@@ -35,8 +36,6 @@ option(BUILD_WITH_CXX "Compile Proton us
 
 if (BUILD_WITH_CXX)
   project (Proton C CXX)
-else (BUILD_WITH_CXX)
-  project (Proton C)
 endif (BUILD_WITH_CXX)
 
 file(READ version.txt PN_VERSION_FILE)



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