Commit 9d5cf567 authored by Ben Boeckel's avatar Ben Boeckel
Browse files

cmake: be suspicious of BUILD_SHARED_LIBS=OFF at the top level

parent ec2e0a1f
......@@ -353,6 +353,17 @@ set(_superbuild_default_nlohmannjson ON)
# set the default for qt5 to be 5.9
set(_superbuild_qt5_default_selection "5.9")
# ParaView's superbuild does not support static-everywhere builds. But let
# people around the check if they want it.
set(_superbuild_no_static_everywhere ON)
endif ()
if (NOT BUILD_SHARED_LIBS AND _superbuild_no_static_everywhere)
"Setting BUILD_SHARED_LIBS=OFF is almost certainly what you want. Maybe "
"you want the `BUILD_SHARED_LIBS_paraview=OFF` option?")
endif ()
# Build UCS4 binaries by default. This is more compatible with Linux
# distributions.
set(_python_unicode_default "UCS4")
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment