From 850cdbf00e58e729d6c1c3eb6406e3b025d8121b Mon Sep 17 00:00:00 2001 From: zachcroft <123985739+zachcroft@users.noreply.github.com> Date: Wed, 15 Jan 2025 18:36:37 -0500 Subject: [PATCH] Fixing compatibility with deal.ii 9.5 (#405) * Make Cmake files compatible with deal.ii 9.4 and above * Made compatibility deal.ii 9.5 or greater --- CMakeLists.txt | 4 ++-- cmake/setup_application.cmake | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index e76b40df..333f3437 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -77,7 +77,7 @@ message(STATUS "=========================================================") message(STATUS "") # Find deal.II installation -find_package(deal.II 9.6.0 QUIET +find_package(deal.II 9.5.0 QUIET HINTS ${DEAL_II_DIR} $ENV{DEAL_II_DIR} ) if(NOT ${deal.II_FOUND}) @@ -295,4 +295,4 @@ if(${PRISMS_PF_BUILD_RELEASE} STREQUAL "ON") set_property(TARGET ${LIBRARY_NAME_RELEASE} PROPERTY OUTPUT_NAME prisms-pf-release) target_include_directories(${LIBRARY_NAME_RELEASE} PRIVATE ${CMAKE_BINARY_DIR}/include include) deal_ii_setup_target(${LIBRARY_NAME_RELEASE} RELEASE) -endif() \ No newline at end of file +endif() diff --git a/cmake/setup_application.cmake b/cmake/setup_application.cmake index 7105f897..dc5fdefc 100644 --- a/cmake/setup_application.cmake +++ b/cmake/setup_application.cmake @@ -41,7 +41,7 @@ endif() # Find deal.II installation -find_package(deal.II 9.6.0 QUIET +find_package(deal.II 9.5.0 QUIET HINTS ${DEAL_II_DIR} $ENV{DEAL_II_DIR} ) if(NOT ${deal.II_FOUND}) @@ -135,4 +135,4 @@ if(EXISTS "postprocess.cc") endif() if(EXISTS "nucleation.cc") add_definitions(-DNUCLEATION_FILE_EXISTS) -endif() \ No newline at end of file +endif()