diff options
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index cb96376..93e27d4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -5,6 +5,8 @@ SUBDIRS(Source Modules Templates) # Include the standard Dart testing module INCLUDE (${CMAKE_ROOT}/Modules/Dart.cmake) +# use the ansi CXX compile flag for building cmake +SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${CMAKE_ANSI_CXXFLAGS}") # add some testing dependencies IF(BUILD_TESTING) IF (DART_ROOT) |