Skip to content

Commit

Permalink
Docs: Recommend Static Build for Superbuilds (#1325)
Browse files Browse the repository at this point in the history
Better default to recommend.
  • Loading branch information
ax3l authored Nov 3, 2022
1 parent 78baa4c commit 97890ee
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -333,8 +333,9 @@ set(CMAKE_POLICY_DEFAULT_CMP0077 NEW)
set(openPMD_BUILD_CLI_TOOLS OFF)
set(openPMD_BUILD_EXAMPLES OFF)
set(openPMD_BUILD_TESTING OFF)
# set(openPMD_BUILD_SHARED_LIBS OFF) # precedence over BUILD_SHARED_LIBS if needed; or:
set(openPMD_INSTALL ${BUILD_SHARED_LIBS}) # only install if used as shared a library
set(openPMD_BUILD_SHARED_LIBS OFF) # precedence over BUILD_SHARED_LIBS if needed
set(openPMD_INSTALL OFF) # or instead use:
# set(openPMD_INSTALL ${BUILD_SHARED_LIBS}) # only install if used as a shared library
set(openPMD_USE_PYTHON OFF)
FetchContent_Declare(openPMD
GIT_REPOSITORY "https://github.com/openPMD/openPMD-api.git"
Expand Down

0 comments on commit 97890ee

Please sign in to comment.