summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/install/TARGETS-Defaults-Cache-stderr.txt
diff options
context:
space:
mode:
authorKyle Edwards <kyle.edwards@kitware.com>2020-02-10 15:15:59 (GMT)
committerBrad King <brad.king@kitware.com>2020-02-11 13:34:16 (GMT)
commit9442ae5083d0b2db8d62bae70bdb7459c111d526 (patch)
tree1b3c6bce199331f5ba3bea6caf024e5eca99f128 /Tests/RunCMake/install/TARGETS-Defaults-Cache-stderr.txt
parent44b8937b7614560d9e88d25456c8394b4b209d51 (diff)
downloadCMake-9442ae5083d0b2db8d62bae70bdb7459c111d526.zip
CMake-9442ae5083d0b2db8d62bae70bdb7459c111d526.tar.gz
CMake-9442ae5083d0b2db8d62bae70bdb7459c111d526.tar.bz2
install: Fix regression when using default destinations
In commit 9fc20a4f3e (install: Add sane set of defaults for DESTINATION and file type parameters, 2018-11-02, v3.14.0-rc1~410^2~1), a regression was introduced, in which an `install(TARGETS)` with a RUNTIME/LIBRARY/ARCHIVE DESTINATION but no PUBLIC_HEADER/PRIVATE_HEADER DESTINATION would then install the headers. The old behavior did not do this. Restore the old behavior. Fixes: #20326
Diffstat (limited to 'Tests/RunCMake/install/TARGETS-Defaults-Cache-stderr.txt')
-rw-r--r--Tests/RunCMake/install/TARGETS-Defaults-Cache-stderr.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/Tests/RunCMake/install/TARGETS-Defaults-Cache-stderr.txt b/Tests/RunCMake/install/TARGETS-Defaults-Cache-stderr.txt
new file mode 100644
index 0000000..1939097
--- /dev/null
+++ b/Tests/RunCMake/install/TARGETS-Defaults-Cache-stderr.txt
@@ -0,0 +1,2 @@
+^INSTALL TARGETS - target lib3 has PRIVATE_HEADER files but no PRIVATE_HEADER DESTINATION\.
+INSTALL TARGETS - target lib4 has PUBLIC_HEADER files but no PUBLIC_HEADER DESTINATION\.$