]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
And disable threading support for Cygwin
authormaier <maier@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 14 Mar 2013 00:01:54 +0000 (00:01 +0000)
committermaier <maier@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 14 Mar 2013 00:01:54 +0000 (00:01 +0000)
git-svn-id: https://svn.dealii.org/trunk@28894 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/bundled/CMakeLists.txt

index 2035f528bb39efa149196e1489458f3b6884fe45..12fc4d24bcdd582d3b4d1477a6d5fd46f163b1b0 100644 (file)
@@ -1,6 +1,6 @@
 #####
 ##
-## Copyright (C) 2012 by the deal.II authors
+## Copyright (C) 2012, 2013 by the deal.II authors
 ##
 ## This file is part of the deal.II library.
 ##
@@ -66,11 +66,16 @@ ENDIF()
 #
 # Threading Building Blocks library
 #
-SET(FEATURE_THREADS_HAVE_BUNDLED TRUE)
-OPTION(DEAL_II_FORCE_BUNDLED_THREADS
-  "Always use the bundled tbb library instead of an external one."
-  OFF)
-SET(TBB_FOLDER "${CMAKE_SOURCE_DIR}/bundled/tbb30_104oss")
+IF(NOT CMAKE_SYSTEM_NAME MATCHES "CYGWIN")
+  #
+  # Cygwin is currently unsupported by tbb
+  #
+  SET(FEATURE_THREADS_HAVE_BUNDLED TRUE)
+  OPTION(DEAL_II_FORCE_BUNDLED_THREADS
+    "Always use the bundled tbb library instead of an external one."
+    OFF)
+  SET(TBB_FOLDER "${CMAKE_SOURCE_DIR}/bundled/tbb30_104oss")
+ENDIF()
 
 IF(FEATURE_THREADS_BUNDLED_CONFIGURED)
   INSTALL(DIRECTORY ${TBB_FOLDER}/include/tbb

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.