]> https://gitweb.dealii.org/ - dealii.git/commit
CMake: Bugfix: Correctly detect unsupported flags in case of clang
authorMatthias Maier <tamiko@kyomu.43-1.org>
Sun, 28 Sep 2014 13:32:07 +0000 (15:32 +0200)
committerMatthias Maier <tamiko@kyomu.43-1.org>
Sun, 28 Sep 2014 13:40:33 +0000 (15:40 +0200)
commit50d09f5de342d515d9de22f2f07dbc8fe173d3d0
treea9721a0f4944f8d5ea8e3a978254b5ba007c98d2
parent413bdbb7b53a15d0ef4d2d981510932fe8fdd030
CMake: Bugfix: Correctly detect unsupported flags in case of clang

The clang compiler frontend is very conservative in not issuing an error
for unsupported compile flags but that are valid for gcc. Therefore, also
supply "-Werror" for the clang compiler in all 'ENABLE_IF_SUPPORTED' tests.
cmake/checks/check_01_compiler_features.cmake
cmake/macros/macro_enable_if_supported.cmake

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.