From: maier Date: Thu, 14 Mar 2013 00:01:54 +0000 (+0000) Subject: And disable threading support for Cygwin X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=45dd1b9eb1c48b762723602c98acd0a36b1b4ce2;p=dealii-svn.git And disable threading support for Cygwin git-svn-id: https://svn.dealii.org/trunk@28894 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/bundled/CMakeLists.txt b/deal.II/bundled/CMakeLists.txt index 2035f528bb..12fc4d24bc 100644 --- a/deal.II/bundled/CMakeLists.txt +++ b/deal.II/bundled/CMakeLists.txt @@ -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