From: Matthias Maier Date: Wed, 27 May 2020 14:37:16 +0000 (-0500) Subject: export "DEAL_II_WITH_THREADS" in deal.IIConfig.cmake X-Git-Tag: v9.3.0-rc1~1541^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F10384%2Fhead;p=dealii.git export "DEAL_II_WITH_THREADS" in deal.IIConfig.cmake --- diff --git a/cmake/config/CMakeLists.txt b/cmake/config/CMakeLists.txt index 3c697150a4..bee167b590 100644 --- a/cmake/config/CMakeLists.txt +++ b/cmake/config/CMakeLists.txt @@ -195,9 +195,12 @@ SET(_files ) FOREACH(_file ${_files}) FILE(APPEND ${_file} "\n\n#\n# Feature configuration:\n#\n\n") - FILE(APPEND ${_file} "SET(DEAL_II_WITH_CXX11 ON)\n") - FILE(APPEND ${_file} "SET(DEAL_II_WITH_CXX14 ON)\n") - FILE(APPEND ${_file} "SET(DEAL_II_WITH_CXX17 ${DEAL_II_HAVE_CXX17})\n") + FILE(APPEND ${_file} + "SET(DEAL_II_WITH_CXX11 ON)\n" + "SET(DEAL_II_WITH_CXX14 ON)\n" + "SET(DEAL_II_WITH_CXX17 ${DEAL_II_HAVE_CXX17})\n" + "SET(DEAL_II_WITH_THREADS ON)\n" + ) ENDFOREACH() GET_CMAKE_PROPERTY(_res VARIABLES)