Skip to content

Commit

Permalink
compile MLCurlCurl for 1D
Browse files Browse the repository at this point in the history
  • Loading branch information
RevathiJambunathan committed Feb 12, 2025
1 parent 63e03ea commit 673ddf1
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions Src/LinearSolvers/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -55,14 +55,12 @@ foreach(D IN LISTS AMReX_SPACEDIM)
endif ()

if (AMReX_LINEAR_SOLVERS_EM)
if (NOT D EQUAL 1 AND AMReX_LINEAR_SOLVERS_EM)
target_sources(amrex_${D}d
PRIVATE
MLMG/AMReX_MLCurlCurl.H
MLMG/AMReX_MLCurlCurl.cpp
MLMG/AMReX_MLCurlCurl_K.H
)
endif ()
target_sources(amrex_${D}d
PRIVATE
MLMG/AMReX_MLCurlCurl.H
MLMG/AMReX_MLCurlCurl.cpp
MLMG/AMReX_MLCurlCurl_K.H
)

target_sources(amrex_${D}d
PRIVATE
Expand Down

0 comments on commit 673ddf1

Please sign in to comment.