Browse Source

ENH: Fix test on HP

Andy Cedilnik 20 years ago
parent
commit
6c1a83609e
1 changed files with 2 additions and 0 deletions
  1. 2 0
      Tests/MacroTest/CMakeLists.txt

+ 2 - 0
Tests/MacroTest/CMakeLists.txt

@@ -1,6 +1,8 @@
 # a simple C only test case
 PROJECT (littleMacroTest C)
 
+SET(CMAKE_C_FLAGS "${CMAKE_ANSI_CFLAGS} ${CMAKE_C_FLAGS}")
+
 MACRO(FAILED testname)
   MESSAGE(SEND_ERROR "${testname} failed ${ARGN}")
 ENDMACRO(FAILED)