Skip to content

Commit

Permalink
Merge pull request #6025 from tjhei/cmake-n-particle-worlds
Browse files Browse the repository at this point in the history
add cmake config options for n particle worlds
  • Loading branch information
gassmoeller authored Sep 5, 2024
2 parents ff2261f + c0dd200 commit 6a6396c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,8 @@ else()
set(ASPECT_BUILD_RELEASE "OFF")
endif()

# Some other ASPECT configuration options:
set(ASPECT_MAX_NUM_PARTICLE_WORLDS 2 CACHE STRING "The maximum number of particle worlds supported at runtime.")



Expand Down
1 change: 1 addition & 0 deletions include/aspect/config.h.in
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,5 @@
#cmakedefine ASPECT_WITH_WORLD_BUILDER
#cmakedefine ASPECT_USE_FP_EXCEPTIONS
#cmakedefine ASPECT_WITH_FASTSCAPE
#cmakedefine ASPECT_MAX_NUM_PARTICLE_WORLDS @ASPECT_MAX_NUM_PARTICLE_WORLDS@
#endif

0 comments on commit 6a6396c

Please sign in to comment.