Skip to content

Commit

Permalink
Fixing compatibility with deal.ii 9.5 (#405)
Browse files Browse the repository at this point in the history
* Make Cmake files compatible with deal.ii 9.4 and above

* Made compatibility deal.ii 9.5 or greater
  • Loading branch information
zachcroft authored Jan 15, 2025
1 parent fad394c commit 850cdbf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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})
Expand Down Expand Up @@ -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()
endif()
4 changes: 2 additions & 2 deletions cmake/setup_application.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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})
Expand Down Expand Up @@ -135,4 +135,4 @@ if(EXISTS "postprocess.cc")
endif()
if(EXISTS "nucleation.cc")
add_definitions(-DNUCLEATION_FILE_EXISTS)
endif()
endif()

0 comments on commit 850cdbf

Please sign in to comment.