From 9157a13167ee927052c39bc41ea2753df97bf00f Mon Sep 17 00:00:00 2001 From: Sebastien Barre Date: Fri, 30 Nov 2001 13:10:41 -0500 Subject: CMAKE_ANSI_CFLAGS is used by VTK, so it should be set in the NMake config so that it gets expanded (even to "") --- Templates/CMakeNMakeWindowsSystemConfig.cmake | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Templates/CMakeNMakeWindowsSystemConfig.cmake b/Templates/CMakeNMakeWindowsSystemConfig.cmake index 5f047a9..8975a2a 100644 --- a/Templates/CMakeNMakeWindowsSystemConfig.cmake +++ b/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.") -- cgit v0.12