From 62c2a23073f286eb6581078d100ce2970e3e4ae2 Mon Sep 17 00:00:00 2001 From: Weiqun Zhang Date: Mon, 25 Mar 2024 17:58:44 -0700 Subject: [PATCH] Update Tools/CMake/AMReXThirdPartyLibraries.cmake Co-authored-by: Axel Huebl --- Tools/CMake/AMReXThirdPartyLibraries.cmake | 3 --- 1 file changed, 3 deletions(-) diff --git a/Tools/CMake/AMReXThirdPartyLibraries.cmake b/Tools/CMake/AMReXThirdPartyLibraries.cmake index 16fe9af2205..f8f49e9c478 100644 --- a/Tools/CMake/AMReXThirdPartyLibraries.cmake +++ b/Tools/CMake/AMReXThirdPartyLibraries.cmake @@ -154,9 +154,6 @@ if (AMReX_SUNDIALS) endif () foreach(D IN LISTS AMReX_SPACEDIM) if (SUNDIALS_VERSION VERSION_GREATER_EQUAL 7) - if (NOT TARGET SUNDIALS::core) - message(FATAL_ERROR "\nSUNDIALS::core not found") - endif () target_link_libraries(amrex_${D}d PUBLIC SUNDIALS::core) endif () foreach(comp IN LISTS SUNDIALS_COMPONENTS)