Browse Source

CMAKE_ANSI_CFLAGS is used by VTK, so it should be set in the NMake config so that it gets expanded (even to "")

Sebastien Barre 24 years ago
parent
commit
9157a13167
1 changed files with 3 additions and 0 deletions
  1. 3 0
      Templates/CMakeNMakeWindowsSystemConfig.cmake

+ 3 - 0
Templates/CMakeNMakeWindowsSystemConfig.cmake

@@ -6,6 +6,9 @@ SET (HAVE_LIMITS_H   1)
 
 SET (HAVE_UNISTD_H   1)
 
+SET (CMAKE_ANSI_CFLAGS "" CACHE INTERNAL 
+     "What flags are required by the c++ compiler to make it ansi.")
+
 SET (CMAKE_C_COMPILER cl CACHE FILEPATH
      "Name of C compiler used.")