Skip to content

Commit b3fb822

Browse files
committed
CMake: Move EB Control in
Just simplifies the call site.
1 parent 51fc0ad commit b3fb822

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

src/CMakeLists.txt

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,7 @@
22
add_subdirectory(AmrCore)
33
add_subdirectory(Base)
44
#add_subdirectory(Boundary)
5-
if (AMReX_EB)
6-
add_subdirectory(EB)
7-
endif()
5+
add_subdirectory(EB)
86
#add_subdirectory(Extern)
97
#add_subdirectory(LinearSolvers)
108
add_subdirectory(Particle)

src/EB/CMakeLists.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
foreach(D IN LISTS AMReX_SPACEDIM)
2+
if (NOT AMReX_EB)
3+
return()
4+
endif()
25
if (D EQUAL 1)
36
return()
47
endif()

0 commit comments

Comments
 (0)