From 66ccadc407cad740971ff0892eec44a3c6ad3b4e Mon Sep 17 00:00:00 2001 From: Axel Huebl Date: Thu, 3 Nov 2022 14:11:39 -0500 Subject: [PATCH] Docs: Recommend Static Build for Superbuilds Better default to recommend. --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index fe32539b74..968e90b65c 100644 --- a/README.md +++ b/README.md @@ -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"