From 2622dda9c7d3267efd985b5ae5928b99063d2fa7 Mon Sep 17 00:00:00 2001 From: Andrew Stitcher Date: Wed, 18 Jun 2014 19:57:29 +0000 Subject: QPID-5829: One more CMake rearrangement and all will be good... git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1603613 13f79535-47bb-0310-9956-ffa450edef68 --- qpid/cpp/CMakeLists.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/qpid/cpp/CMakeLists.txt b/qpid/cpp/CMakeLists.txt index 7fdbb4e09e..45803aae73 100644 --- a/qpid/cpp/CMakeLists.txt +++ b/qpid/cpp/CMakeLists.txt @@ -51,6 +51,9 @@ include(BuildInstallSettings.cmake) enable_testing() include (CTest) +# Define windows versions and library helpers +include (src/msvc.cmake) + if (MSVC) # Change warning C4996 from level 1 to level 4. These are real and shouldn't # be completely ignored, but they're pretty well checked out and will throw @@ -198,9 +201,6 @@ if (MSVC) set (CMAKE_CXX_FLAGS_RELWITHDEBINFO "/MD /O2 /Ob2 /D NDEBUG") set (CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO "/debug /INCREMENTAL:NO") - # Define windows versions and library helpers - include (src/msvc.cmake) - if (EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/bindings/qpid/dotnet/src) # Set the windows version for the .NET Binding cpp project configure_file(${CMAKE_CURRENT_SOURCE_DIR}/bindings/qpid/dotnet/src/org.apache.qpid.messaging.template.rc -- cgit v1.2.1