NO-JIRA: Really make BUILD_WITH_CXX worl properly (sigh) git-svn-id: https://svn.apache.org/repos/asf/qpid/proton/trunk@1628548 13f79535-47bb-0310-9956-ffa450edef68
Project: http://git-wip-us.apache.org/repos/asf/qpid-proton/repo Commit: http://git-wip-us.apache.org/repos/asf/qpid-proton/commit/53b034c8 Tree: http://git-wip-us.apache.org/repos/asf/qpid-proton/tree/53b034c8 Diff: http://git-wip-us.apache.org/repos/asf/qpid-proton/diff/53b034c8 Branch: refs/heads/examples Commit: 53b034c8392b3885157d683c4fdbe4f3f040a984 Parents: 8cc810a Author: Andrew Stitcher <[email protected]> Authored: Tue Sep 30 20:38:30 2014 +0000 Committer: Andrew Stitcher <[email protected]> Committed: Tue Sep 30 20:38:30 2014 +0000 ---------------------------------------------------------------------- CMakeLists.txt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/53b034c8/CMakeLists.txt ---------------------------------------------------------------------- diff --git a/CMakeLists.txt b/CMakeLists.txt index 7d1fba7..38c8f17 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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 using C++" ${DEFAULT_BUILD_WITH_CXX}) 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: [email protected] For additional commands, e-mail: [email protected]
