From: Matthias Maier Date: Tue, 27 Oct 2015 18:16:44 +0000 (-0500) Subject: CMake: Refactor include to appropriate file X-Git-Tag: v8.4.0-rc2~271^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F1802%2Fhead;p=dealii.git CMake: Refactor include to appropriate file --- diff --git a/cmake/configure/configure_1_lapack.cmake b/cmake/configure/configure_1_lapack.cmake index cc91a6f752..629b1d867c 100644 --- a/cmake/configure/configure_1_lapack.cmake +++ b/cmake/configure/configure_1_lapack.cmake @@ -35,7 +35,6 @@ MACRO(FEATURE_LAPACK_FIND_EXTERNAL var) # Push -pthread as well: ENABLE_IF_SUPPORTED(CMAKE_REQUIRED_FLAGS "-pthread") - INCLUDE(CheckCSourceCompiles) CHECK_C_SOURCE_COMPILES(" char daxpy_(); char dgeev_(); char dgeevx_(); char dgelsd_(); char dgemm_(); char dgemv_(); char dgeqrf_(); char dgesdd_(); char diff --git a/cmake/setup_external_macros.cmake b/cmake/setup_external_macros.cmake index 6df85255b8..e625f77e1b 100644 --- a/cmake/setup_external_macros.cmake +++ b/cmake/setup_external_macros.cmake @@ -1,6 +1,6 @@ ## --------------------------------------------------------------------- ## -## Copyright (C) 2012 - 2014 by the deal.II authors +## Copyright (C) 2012 - 2015 by the deal.II authors ## ## This file is part of the deal.II library. ## @@ -23,5 +23,5 @@ INCLUDE(CheckCXXSourceRuns) INCLUDE(CheckCXXSymbolExists) INCLUDE(CheckIncludeFileCXX) +INCLUDE(CheckCSourceCompiles) INCLUDE(CheckFunctionExists) -