summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/install/InstallRequiredSystemLibraries.cmake
diff options
context:
space:
mode:
authorKyle Edwards <kyle.edwards@kitware.com>2018-07-13 13:01:09 (GMT)
committerKyle Edwards <kyle.edwards@kitware.com>2018-07-17 13:07:10 (GMT)
commit2201fb6f4369911f2260deb41dc70ac5c9c905d6 (patch)
tree00d9b9b480f0d0abf4fe9cec7bbad162622728e6 /Tests/RunCMake/install/InstallRequiredSystemLibraries.cmake
parent5a7a006fddfe0cbf00004dfb7352b9b83dca9d58 (diff)
downloadCMake-2201fb6f4369911f2260deb41dc70ac5c9c905d6.zip
CMake-2201fb6f4369911f2260deb41dc70ac5c9c905d6.tar.gz
CMake-2201fb6f4369911f2260deb41dc70ac5c9c905d6.tar.bz2
Tests: Add test for InstallRequiredSystemLibraries
Diffstat (limited to 'Tests/RunCMake/install/InstallRequiredSystemLibraries.cmake')
-rw-r--r--Tests/RunCMake/install/InstallRequiredSystemLibraries.cmake10
1 files changed, 10 insertions, 0 deletions
diff --git a/Tests/RunCMake/install/InstallRequiredSystemLibraries.cmake b/Tests/RunCMake/install/InstallRequiredSystemLibraries.cmake
new file mode 100644
index 0000000..27ff683
--- /dev/null
+++ b/Tests/RunCMake/install/InstallRequiredSystemLibraries.cmake
@@ -0,0 +1,10 @@
+enable_language(C)
+set(CMAKE_INSTALL_MFC_LIBRARIES 1)
+set(CMAKE_INSTALL_DEBUG_LIBRARIES 1)
+set(CMAKE_INSTALL_UCRT_LIBRARIES 1)
+set(CMAKE_INSTALL_OPENMP_LIBRARIES 1)
+include(InstallRequiredSystemLibraries)
+
+# FIXME: This test emits warnings because InstallRequiredSystemLibraries
+# doesn't currently work properly. The warnings have been suppressed in
+# InstallRequiredSystemLibraries-stderr.txt. This needs to be fixed.