]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
CMake: *sigh*
authormaier <maier@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 30 Jul 2013 09:15:30 +0000 (09:15 +0000)
committermaier <maier@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 30 Jul 2013 09:15:30 +0000 (09:15 +0000)
git-svn-id: https://svn.dealii.org/trunk@30183 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/cmake/checks/check_01_cpu_features.cmake

index 79a5a661b759d80a88976ee9f919f31979a850f6..d83f4494c836d364323eae49e4fe852a8f459431 100644 (file)
 # Determine the Endianess of the platform:
 #
 IF(CMAKE_C_COMPILER_WORKS)
+  SET(CMAKE_REQUIRED_FLAGS)
+  SET(CMAKE_REQUIRED_INCLUDES)
+  SET(CMAKE_REQUIRED_LIBRARIES)
+
   INCLUDE(TestBigEndian)
   TEST_BIG_ENDIAN(DEAL_II_WORDS_BIGENDIAN)
+
+  RESET_CMAKE_REQUIRED()
 ELSE()
   MESSAGE(STATUS
     "No suitable C compiler was found! Assuming little endian platform."

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.