summaryrefslogtreecommitdiff
path: root/qpid/cpp
diff options
context:
space:
mode:
authorAndrew Stitcher <astitcher@apache.org>2014-06-17 06:18:20 +0000
committerAndrew Stitcher <astitcher@apache.org>2014-06-17 06:18:20 +0000
commit4d9f93a01b667829db249a219615ba58b6bfed21 (patch)
tree5b91f7397ca68bec13a735eb31641a41f9c35b15 /qpid/cpp
parent80a69935f8a5ee35bfbe79668d4e299969ce6de2 (diff)
downloadqpid-python-4d9f93a01b667829db249a219615ba58b6bfed21.tar.gz
QPID-5829: Oops - fix mistaken change to actually work on Windows
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1603065 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp')
-rw-r--r--qpid/cpp/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/qpid/cpp/CMakeLists.txt b/qpid/cpp/CMakeLists.txt
index 37e30fc67a..897d649e4d 100644
--- a/qpid/cpp/CMakeLists.txt
+++ b/qpid/cpp/CMakeLists.txt
@@ -179,7 +179,7 @@ if (CMAKE_SYSTEM_NAME STREQUAL Windows)
option(SET_WIN32_WINNT "In Windows-MSVC build: define _WIN32_WINNT=0x0502 to select target version: Windows XP with SP3" ${win32_winnt_default})
endif (CMAKE_SYSTEM_NAME STREQUAL Windows)
-if (CMAKE_CXX_COMPILER_ID STREQUAL MSVC)
+if (MSVC)
add_definitions(
/D "_CRT_NONSTDC_NO_WARNINGS"
/D "NOMINMAX"