diff options
author | Brad King <brad.king@kitware.com> | 2005-02-14 13:44:32 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2005-02-14 13:44:32 (GMT) |
commit | 87b7b8d1f1d111f4e0ee6d47400791a03345832d (patch) | |
tree | c8ca3334245d26719acfae12ae8021d4fbebc5bc /Tests | |
parent | 534ed3eb2b9c0719d9e11294fe43a3a325d5ef84 (diff) | |
download | CMake-87b7b8d1f1d111f4e0ee6d47400791a03345832d.zip CMake-87b7b8d1f1d111f4e0ee6d47400791a03345832d.tar.gz CMake-87b7b8d1f1d111f4e0ee6d47400791a03345832d.tar.bz2 |
COMP: Need ANSI flags for C executable.
Diffstat (limited to 'Tests')
-rw-r--r-- | Tests/MakeClean/CMakeLists.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Tests/MakeClean/CMakeLists.txt b/Tests/MakeClean/CMakeLists.txt index 6852a6e..5060ae7 100644 --- a/Tests/MakeClean/CMakeLists.txt +++ b/Tests/MakeClean/CMakeLists.txt @@ -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}) |