summaryrefslogtreecommitdiff
path: root/Tests/RunCMake/CommandLine
diff options
context:
space:
mode:
authorRobert Maynard <rmaynard@nvidia.com>2021-02-22 11:52:14 -0500
committerRobert Maynard <rmaynard@nvidia.com>2021-03-04 10:50:24 -0500
commit38140713ad24576f1c4e6253a1de91ff217dd475 (patch)
tree5a46fbfe232b0fb0891909ed3b91f677f7b3a59a /Tests/RunCMake/CommandLine
parenta88efbc9cfad2d69e1f1e8875383c4e9c1f39849 (diff)
downloadcmake-38140713ad24576f1c4e6253a1de91ff217dd475.tar.gz
cmake: add support for --install-prefix command argument
Fixes: #21781
Diffstat (limited to 'Tests/RunCMake/CommandLine')
-rw-r--r--Tests/RunCMake/CommandLine/RunCMakeTest.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/Tests/RunCMake/CommandLine/RunCMakeTest.cmake b/Tests/RunCMake/CommandLine/RunCMakeTest.cmake
index 51754fc616..a2b2044bed 100644
--- a/Tests/RunCMake/CommandLine/RunCMakeTest.cmake
+++ b/Tests/RunCMake/CommandLine/RunCMakeTest.cmake
@@ -61,6 +61,9 @@ run_cmake_command(build-bad-dir
run_cmake_command(build-bad-generator
${CMAKE_COMMAND} --build ${RunCMake_SOURCE_DIR}/cache-bad-generator)
+
+run_cmake_command(install-prefix-no-arg ${CMAKE_COMMAND} -B DummyBuildDir --install-prefix)
+
run_cmake_command(install-no-dir
${CMAKE_COMMAND} --install)
run_cmake_command(install-bad-dir