Author: kgiusti
Date: Wed May 22 19:24:05 2013
New Revision: 1485352
URL: http://svn.apache.org/r1485352
Log:
NO-JIRA: fix cmake windows build
Modified:
qpid/proton/trunk/tests/tools/apps/c/CMakeLists.txt
Modified: qpid/proton/trunk/tests/tools/apps/c/CMakeLists.txt
URL:
http://svn.apache.org/viewvc/qpid/proton/trunk/tests/tools/apps/c/CMakeLists.txt?rev=1485352&r1=1485351&r2=1485352&view=diff
==============================================================================
--- qpid/proton/trunk/tests/tools/apps/c/CMakeLists.txt (original)
+++ qpid/proton/trunk/tests/tools/apps/c/CMakeLists.txt Wed May 22 19:24:05 2013
@@ -23,8 +23,10 @@ CHECK_INCLUDE_FILES("inttypes.h" INTTYPE
if (INTTYPES_AVAILABLE)
list(APPEND PLATFORM_DEFINITIONS "USE_INTTYPES")
else (INTTYPES_AVAILABLE)
- # since inttypes.h provides portable printf format macros
- set (COMPILE_WARNING_FLAGS "${COMPILE_WARNING_FLAGS} -Wno-format")
+ if (CMAKE_COMPILER_IS_GNUCC)
+ # since inttypes.h provides portable printf format macros
+ set (COMPILE_WARNING_FLAGS "${COMPILE_WARNING_FLAGS} -Wno-format")
+ endif (CMAKE_COMPILER_IS_GNUCC)
endif (INTTYPES_AVAILABLE)
add_executable(msgr-recv msgr-recv.c msgr-common.c)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]