Author: astitcher
Date: Tue Jun 17 06:18:20 2014
New Revision: 1603065
URL: http://svn.apache.org/r1603065
Log:
QPID-5829: Oops - fix mistaken change to actually work on Windows
Modified:
qpid/trunk/qpid/cpp/CMakeLists.txt
Modified: qpid/trunk/qpid/cpp/CMakeLists.txt
URL:
http://svn.apache.org/viewvc/qpid/trunk/qpid/cpp/CMakeLists.txt?rev=1603065&r1=1603064&r2=1603065&view=diff
==============================================================================
--- qpid/trunk/qpid/cpp/CMakeLists.txt (original)
+++ qpid/trunk/qpid/cpp/CMakeLists.txt Tue Jun 17 06:18:20 2014
@@ -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"
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]