diff options
author | Brad King <brad.king@kitware.com> | 2003-06-10 20:56:13 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2003-06-10 20:56:13 (GMT) |
commit | dc7f5c426fe00be083d265d0c2d1819274002a04 (patch) | |
tree | 95dd6498bae789716ac168958041650a76167380 | |
parent | 1e77222b0416c7ca63676017008395c6f8767b59 (diff) | |
download | CMake-dc7f5c426fe00be083d265d0c2d1819274002a04.zip CMake-dc7f5c426fe00be083d265d0c2d1819274002a04.tar.gz CMake-dc7f5c426fe00be083d265d0c2d1819274002a04.tar.bz2 |
BUG: Need to add ANSI C flags for some platforms.
-rw-r--r-- | Source/kwsys/CMakeLists.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/kwsys/CMakeLists.txt b/Source/kwsys/CMakeLists.txt index 68bd8c0..1f1816f 100644 --- a/Source/kwsys/CMakeLists.txt +++ b/Source/kwsys/CMakeLists.txt @@ -28,6 +28,10 @@ SET(KWSYS_NO_ANSI_STREAM_HEADERS ${CMAKE_NO_ANSI_STREAM_HEADERS}) SET(KWSYS_NO_ANSI_STRING_STREAM ${CMAKE_NO_ANSI_STRING_STREAM}) SET(KWSYS_NO_ANSI_FOR_SCOPE ${CMAKE_NO_ANSI_FOR_SCOPE}) +IF(CMAKE_ANSI_CFLAGS) + SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${CMAKE_ANSI_CFLAGS}") +ENDIF(CMAKE_ANSI_CFLAGS) + SET(CLASSES Directory RegularExpression SystemTools) SET(H Process) SET(HXX Configure) |