From 2bd9642323b2673899aa5869f68101b8845340f4 Mon Sep 17 00:00:00 2001 From: Markus Blatt <markus@dr-blatt.de> Date: Mon, 28 Apr 2014 18:13:16 +0200 Subject: [PATCH] [cmake] Set HAVE_METIS for correct config.h creation in dune-istl. --- cmake/modules/FindMETIS.cmake | 1 + 1 file changed, 1 insertion(+) diff --git a/cmake/modules/FindMETIS.cmake b/cmake/modules/FindMETIS.cmake index 8aa3efdc3..1a084e69d 100644 --- a/cmake/modules/FindMETIS.cmake +++ b/cmake/modules/FindMETIS.cmake @@ -73,6 +73,7 @@ mark_as_advanced(METIS_INCLUDE_DIR METIS_LIBRARIES METIS_LIB_NAME) if(METIS_FOUND) set(METIS_INCLUDE_DIRS ${METIS_INCLUDE_DIR}) set(METIS_LIBRARIES ${METIS_LIBRARY}) + set(HAVE_METIS ${METIS_FOUND}) # log result file(APPEND ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeOutput.log "Determing location of METIS succeded:\n" -- GitLab