From 761ed07ca15c2d1c887212efa3414cae360d4d14 Mon Sep 17 00:00:00 2001 From: Matthias Maier Date: Tue, 27 Oct 2015 13:16:44 -0500 Subject: [PATCH] CMake: Refactor include to appropriate file --- cmake/configure/configure_1_lapack.cmake | 1 - cmake/setup_external_macros.cmake | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) 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) - -- 2.39.5