diff options
author | Andrew Stitcher <astitcher@apache.org> | 2014-06-17 06:18:20 +0000 |
---|---|---|
committer | Andrew Stitcher <astitcher@apache.org> | 2014-06-17 06:18:20 +0000 |
commit | 29db4fab08d6f8ee5cfe3d72e4a2ca43ef63a441 (patch) | |
tree | 3c981f0367bc17e77c06d05aeae5f28f495d6be8 | |
parent | 2697d56b78841f84ba20cc1fc98b82e3a076b799 (diff) | |
download | qpid-python-29db4fab08d6f8ee5cfe3d72e4a2ca43ef63a441.tar.gz |
QPID-5829: Oops - fix mistaken change to actually work on Windows
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1603065 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | cpp/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/CMakeLists.txt b/cpp/CMakeLists.txt index 37e30fc67a..897d649e4d 100644 --- a/cpp/CMakeLists.txt +++ b/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" |