]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Bugfix: It is safe to export TBB_IMPLEMENT_CXX1X and the user should do this, too
authormaier <maier@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 17 Oct 2013 08:00:22 +0000 (08:00 +0000)
committermaier <maier@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 17 Oct 2013 08:00:22 +0000 (08:00 +0000)
git-svn-id: https://svn.dealii.org/branches/branch_port_the_testsuite@31275 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/cmake/configure/configure_1_threads.cmake

index 88c0737d5fb765b0dd97f30cb086b8d2a642a3d2..52e16e0ab8cd0143f9259c94a3a0871864422552 100644 (file)
@@ -172,9 +172,9 @@ MACRO(FEATURE_THREADS_CONFIGURE_EXTERNAL)
       NOT DEAL_II_HAVE_CXX11_IS_TRIVIALLY_COPYABLE AND
       NOT CMAKE_CXX_COMPILER_ID MATCHES "GNU" )
     LIST(APPEND DEAL_II_DEFINITIONS "TBB_IMPLEMENT_CPP0X=1")
+    LIST(APPEND DEAL_II_USER_DEFINITIONS "TBB_IMPLEMENT_CPP0X=1")
   ENDIF()
 
-
   SETUP_THREADING()
 ENDMACRO()
 
@@ -208,6 +208,7 @@ MACRO(FEATURE_THREADS_CONFIGURE_BUNDLED)
       NOT DEAL_II_HAVE_CXX11_IS_TRIVIALLY_COPYABLE AND
       NOT CMAKE_CXX_COMPILER_ID MATCHES "GNU" )
     LIST(APPEND DEAL_II_DEFINITIONS "TBB_IMPLEMENT_CPP0X=1")
+    LIST(APPEND DEAL_II_USER_DEFINITIONS "TBB_IMPLEMENT_CPP0X=1")
   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.