]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
CMake: Hide a warning with clang: -Wno-unsupported-friend
authormaier <maier@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 23 Apr 2014 08:18:07 +0000 (08:18 +0000)
committermaier <maier@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 23 Apr 2014 08:18:07 +0000 (08:18 +0000)
git-svn-id: https://svn.dealii.org/trunk@32811 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/cmake/setup_compiler_flags_gnu.cmake

index 59c4a245085d3d4735197c29fa052b36a87a77f9..6fb9d81ab9698764e83aee691d9d91c223382897 100644 (file)
@@ -105,6 +105,7 @@ IF(CMAKE_CXX_COMPILER_ID MATCHES "Clang")
   ENABLE_IF_SUPPORTED(DEAL_II_CXX_FLAGS "-Wno-unused-function")
   ENABLE_IF_SUPPORTED(DEAL_II_CXX_FLAGS "-Wno-unused-private-field")
   ENABLE_IF_SUPPORTED(DEAL_II_CXX_FLAGS "-Wno-unused-variable")
+  ENABLE_IF_SUPPORTED(DEAL_II_CXX_FLAGS "-Wno-unsupported-friend")
 ENDIF()
 
 

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.