cmake: Fix spack install inside ctest (#14889)

Disable the CMake install tests since they break under certain testing conditions.
This commit is contained in:
Dr. Christian Tacke 2020-02-17 19:26:35 +01:00 committed by GitHub
parent d6e4b4773a
commit 03d32c868a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -175,6 +175,10 @@ def bootstrap_args(self):
# Make sure to create an optimized release build
args.append('-DCMAKE_BUILD_TYPE=Release')
# Install CMake correctly, even if `spack install` runs
# inside a ctest environment
args.append('-DCMake_TEST_INSTALL=OFF')
# When building our own private copy of curl then we need to properly
# enable / disable oepnssl
if '+ownlibs' in spec: