From 8e41c461bacd7f7440cfdb9e422cdbb074b6cf6a Mon Sep 17 00:00:00 2001 From: Debian Science Team Date: Wed, 18 Nov 2020 16:09:19 +0000 Subject: [PATCH] cmake_find_petsc =================================================================== Gbp-Pq: Name cmake_find_petsc.patch --- cmake/templates/DOLFINConfig.cmake.in | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/cmake/templates/DOLFINConfig.cmake.in b/cmake/templates/DOLFINConfig.cmake.in index bdad95e..afe70a3 100644 --- a/cmake/templates/DOLFINConfig.cmake.in +++ b/cmake/templates/DOLFINConfig.cmake.in @@ -16,6 +16,12 @@ endif() # Compute path get_filename_component(DOLFIN_CMAKE_DIR "${CMAKE_CURRENT_LIST_FILE}" PATH) +# Include directories +set(DOLFIN_INCLUDE_DIRS "@CMAKE_INSTALL_PREFIX@/@DOLFIN_INCLUDE_DIR@") + +# The location of the UseDOLFIN.cmake file +set(DOLFIN_USE_FILE "${DOLFIN_CMAKE_DIR}/UseDOLFIN.cmake") + # Library dependencies (contains definitions for IMPORTED targets) # NOTE: DOLFIN demo CMakeLists.txt are written to be stand-alone, as # well as the build system building the demo. Therefore, we need the @@ -36,9 +42,6 @@ set(DOLFIN_CXX_FLAGS "@CMAKE_CXX_FLAGS@") # Linker flags set(DOLFIN_LINK_FLAGS "@CMAKE_EXE_LINKER_FLAGS@") -# Include directories -set(DOLFIN_INCLUDE_DIRS "@CMAKE_INSTALL_PREFIX@/@DOLFIN_INCLUDE_DIR@") - # Third party include directories set(DOLFIN_3RD_PARTY_INCLUDE_DIRS "@DOLFIN_DEP_INCLUDE_DIRECTORIES@;@DOLFIN_DEP_SYSTEM_INCLUDE_DIRECTORIES@") @@ -50,6 +53,3 @@ set(DOLFIN_VERSION_MAJOR "@DOLFIN_VERSION_MAJOR@") set(DOLFIN_VERSION_MINOR "@DOLFIN_VERSION_MINOR@") set(DOLFIN_VERSION_MICRO "@DOLFIN_VERSION_MICRO@") set(DOLFIN_VERSION_STR "@DOLFIN_VERSION@") - -# The location of the UseDOLFIN.cmake file -set(DOLFIN_USE_FILE "${DOLFIN_CMAKE_DIR}/UseDOLFIN.cmake") -- 2.30.2