mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-02 04:09:33 -05:00
COMP: Need ANSI flags for C executable.
This commit is contained in:
@@ -30,6 +30,11 @@ FOREACH(f ${TOCLEAN_FILES})
|
||||
ENDIF(EXISTS "${f}")
|
||||
ENDFOREACH(f)
|
||||
|
||||
# Enable ANSI flags for the C executable.
|
||||
IF(CMAKE_ANSI_CFLAGS)
|
||||
SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${CMAKE_ANSI_CFLAGS}")
|
||||
ENDIF(CMAKE_ANSI_CFLAGS)
|
||||
|
||||
# Configure an executable to check that all the files are missing.
|
||||
SET(CHECK_FILES)
|
||||
FOREACH(f ${TOCLEAN_FILES})
|
||||
|
||||
Reference in New Issue
Block a user