]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
CMake: Weaken a platform introspection guard
authormaier <maier@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 2 Apr 2013 21:10:41 +0000 (21:10 +0000)
committermaier <maier@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 2 Apr 2013 21:10:41 +0000 (21:10 +0000)
git-svn-id: https://svn.dealii.org/trunk@29149 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/cmake/checks/check_01_cxx_features.cmake

index 0b4ce417f8b113df0bac011f9ba49e78d045b163..f615de483dfcd26666e8e440508d0ec32aadf4ca 100644 (file)
@@ -113,7 +113,7 @@ IF(DEAL_II_HAVE_CXX11_FLAG)
   #       configure_threads.cmake which will determine and setup threads
   #       has to be called later...
   #
-  IF(DEAL_II_ALLOW_PLATFORM_INTROSPECTION)
+  IF(NOT CMAKE_CROSSOMPILING) # Todo: Is it better to use DEAL_II_ALLOW_PLATFORM_INTROSPECTION here?
     PUSH_TEST_FLAG("-pthread")
     CHECK_CXX_SOURCE_RUNS(
       "

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.