summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CMakePresets/GoodInstallDefault.cmake
diff options
context:
space:
mode:
authorRobert Maynard <rmaynard@nvidia.com>2021-02-22 16:58:52 (GMT)
committerRobert Maynard <rmaynard@nvidia.com>2021-03-09 18:53:16 (GMT)
commitb227a9565eb06dcc6e59bfa31e6939edf1ddbaad (patch)
tree622ff00179b0ee21bc86308aac5fd26f3ffb3f28 /Tests/RunCMake/CMakePresets/GoodInstallDefault.cmake
parent38140713ad24576f1c4e6253a1de91ff217dd475 (diff)
downloadCMake-b227a9565eb06dcc6e59bfa31e6939edf1ddbaad.zip
CMake-b227a9565eb06dcc6e59bfa31e6939edf1ddbaad.tar.gz
CMake-b227a9565eb06dcc6e59bfa31e6939edf1ddbaad.tar.bz2
cmake: configure preset add support for --install-prefix mapping
Diffstat (limited to 'Tests/RunCMake/CMakePresets/GoodInstallDefault.cmake')
-rw-r--r--Tests/RunCMake/CMakePresets/GoodInstallDefault.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/Tests/RunCMake/CMakePresets/GoodInstallDefault.cmake b/Tests/RunCMake/CMakePresets/GoodInstallDefault.cmake
new file mode 100644
index 0000000..656fda0
--- /dev/null
+++ b/Tests/RunCMake/CMakePresets/GoodInstallDefault.cmake
@@ -0,0 +1,3 @@
+include("${RunCMake_SOURCE_DIR}/TestVariable.cmake")
+
+test_variable("CMAKE_INSTALL_PREFIX" "PATH" "${CMAKE_SOURCE_DIR}/build/install_dir1")