Skip to content

Update CMake build to build spherical version of ModEM#38

Draft
MiCurry wants to merge 1 commit intomagnetotellurics:mainfrom
MiCurry:cmake-add-spherical
Draft

Update CMake build to build spherical version of ModEM#38
MiCurry wants to merge 1 commit intomagnetotellurics:mainfrom
MiCurry:cmake-add-spherical

Conversation

@MiCurry
Copy link
Copy Markdown
Member

@MiCurry MiCurry commented Feb 3, 2026

This commit adds the ability for the CMake build system to build the spherical version of ModEM. The user can add the -CBUILD_SPHERICAL=ON flag to build the spherical version.

Similar to the Configure script, it produces a warning to the user alerting them that they cannot use it as simply as normal MT setups. In order to bypass the warning the error message indicates they should use the -DFORCE_SPHERICAL=ON.

This commit adds the ability for the CMake build system to build the spherical
version of ModEM. The user can add the -CBUILD_SPHERICAL=ON flag to build the
spherical version.

Similar to the Configure script, it produces a warning to the user alerting
them that they cannot use it as simply as normal MT setups. In order to bypass
the warning the error message indicates they should use the
-DFORCE_SPHERICAL=ON.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant