diff options
author | Sebastien Barre <sebastien.barre@kitware.com> | 2001-11-30 18:10:41 (GMT) |
---|---|---|
committer | Sebastien Barre <sebastien.barre@kitware.com> | 2001-11-30 18:10:41 (GMT) |
commit | 9157a13167ee927052c39bc41ea2753df97bf00f (patch) | |
tree | 448f1c7690f0ab31e0d52c1bf9f6aa640b091d87 /Templates/CMakeNMakeWindowsSystemConfig.cmake | |
parent | cb23279833a53d668751caa51a15eed602b1004d (diff) | |
download | CMake-9157a13167ee927052c39bc41ea2753df97bf00f.zip CMake-9157a13167ee927052c39bc41ea2753df97bf00f.tar.gz CMake-9157a13167ee927052c39bc41ea2753df97bf00f.tar.bz2 |
CMAKE_ANSI_CFLAGS is used by VTK, so it should be set in the NMake config so that it gets expanded (even to "")
Diffstat (limited to 'Templates/CMakeNMakeWindowsSystemConfig.cmake')
-rw-r--r-- | Templates/CMakeNMakeWindowsSystemConfig.cmake | 3 |
1 files changed, 3 insertions, 0 deletions
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.") |