From: maier Date: Mon, 14 Oct 2013 13:12:28 +0000 (+0000) Subject: Workaround an issue with bundled tbb and clang in C++11 mode X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=548b4a447afe0bea83e1c7ffe4dc03b874b7f791;p=dealii-svn.git Workaround an issue with bundled tbb and clang in C++11 mode git-svn-id: https://svn.dealii.org/branches/branch_port_the_testsuite@31226 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/bundled/tbb41_20130401oss/src/CMakeLists.txt b/deal.II/bundled/tbb41_20130401oss/src/CMakeLists.txt index 1551dc14de..96711a27e0 100644 --- a/deal.II/bundled/tbb41_20130401oss/src/CMakeLists.txt +++ b/deal.II/bundled/tbb41_20130401oss/src/CMakeLists.txt @@ -119,3 +119,9 @@ ELSE() ENDIF() ENDIF() +# +# Workaround for clang to compile in C++11 mode: +# +IF(CMAKE_CXX_COMPILER_ID MATCHES "Clang") + DEAL_II_ADD_DEFINITIONS(obj_tbb "TBB_IMPLEMENT_CPP0X=1") +ENDIF()