summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/GNUInstallDirs/UsrLocal.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2015-06-16 18:59:51 (GMT)
committerBrad King <brad.king@kitware.com>2015-06-18 12:59:24 (GMT)
commit5f30f1754ac9a701cbd311bab86250dd237d86fd (patch)
treefffb8200251e5ecf6eaa1e7113ae0971a1a9d3c4 /Tests/RunCMake/GNUInstallDirs/UsrLocal.cmake
parent1199ebf1c53f7f591e412617afdaaf4ccd5bc0ff (diff)
downloadCMake-5f30f1754ac9a701cbd311bab86250dd237d86fd.zip
CMake-5f30f1754ac9a701cbd311bab86250dd237d86fd.tar.gz
CMake-5f30f1754ac9a701cbd311bab86250dd237d86fd.tar.bz2
GNUInstallDirs: Add test cases
Add a RunCMake.GNUInstallDirs test with cases covering various install prefixes. Hard-code the architecture information. Tolerate all platform-specific LIBDIR values. Currently the root prefix is not handled well, but verify the current behavior in the test anyway. This can be addressed with a future change. Inspired-by: Alex Turbov <i.zaufi@gmail.com>
Diffstat (limited to 'Tests/RunCMake/GNUInstallDirs/UsrLocal.cmake')
-rw-r--r--Tests/RunCMake/GNUInstallDirs/UsrLocal.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/Tests/RunCMake/GNUInstallDirs/UsrLocal.cmake b/Tests/RunCMake/GNUInstallDirs/UsrLocal.cmake
new file mode 100644
index 0000000..59d9331
--- /dev/null
+++ b/Tests/RunCMake/GNUInstallDirs/UsrLocal.cmake
@@ -0,0 +1,2 @@
+set(CMAKE_INSTALL_PREFIX "/usr/local")
+include(Common.cmake)