]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Add debug flag when testing for support of C++14. 1390/head
authorBruno Turcksin <bruno.turcksin@gmail.com>
Wed, 19 Aug 2015 19:07:08 +0000 (14:07 -0500)
committerBruno Turcksin <bruno.turcksin@gmail.com>
Wed, 19 Aug 2015 19:07:08 +0000 (14:07 -0500)
cmake/checks/check_01_cxx_features.cmake

index 2c46133e0eb8563cea064b941fe1b15130d14231..32d49236ccfddde35c0c4db10bd0730231ea348f 100644 (file)
@@ -103,6 +103,10 @@ IF(NOT DEFINED DEAL_II_WITH_CXX14 OR DEAL_II_WITH_CXX14)
     MESSAGE(STATUS "Using C++ version flag \"${DEAL_II_CXX_VERSION_FLAG}\"")
     PUSH_CMAKE_REQUIRED("${DEAL_II_CXX_VERSION_FLAG}")
 
+    # Some versions of clang are feature complete but do not have debug
+    # information.
+    PUSH_CMAKE_REQUIRED("-g")
+
     #
     # This test does not guarantee full C++14 support, but virtually every
     # compiler with some C++14 support implements this.

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.