mirror of
https://github.com/reactos/CMake.git
synced 2025-02-01 09:35:03 +00:00
ENH: add ansi flag for c compiler
This commit is contained in:
parent
0314c5f76a
commit
59e0fa6942
@ -13,6 +13,11 @@ ENDIF(CMAKE_CONFIGURE_INSTALL_PREFIX)
|
||||
IF (CMAKE_ANSI_CXXFLAGS)
|
||||
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${CMAKE_ANSI_CXXFLAGS}")
|
||||
ENDIF (CMAKE_ANSI_CXXFLAGS)
|
||||
|
||||
IF (CMAKE_ANSI_CFLAGS)
|
||||
SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${CMAKE_ANSI_CFLAGS}")
|
||||
ENDIF (CMAKE_ANSI_CFLAGS)
|
||||
|
||||
# add some testing dependencies
|
||||
IF(BUILD_TESTING)
|
||||
IF (DART_ROOT)
|
||||
|
Loading…
x
Reference in New Issue
Block a user