summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/LinkStatic/RunCMakeTest.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2015-09-02 20:09:22 (GMT)
committerBrad King <brad.king@kitware.com>2015-09-02 20:11:29 (GMT)
commit18d7f8fbfbf9a03ff0742c26a349a2030cecb9d5 (patch)
treea6ddd54a4106f616f49a785f95bb1e593cea9e02 /Tests/RunCMake/LinkStatic/RunCMakeTest.cmake
parent9e21b01a4d4781cdcfb8990bdf72a11c83da3887 (diff)
downloadCMake-18d7f8fbfbf9a03ff0742c26a349a2030cecb9d5.zip
CMake-18d7f8fbfbf9a03ff0742c26a349a2030cecb9d5.tar.gz
CMake-18d7f8fbfbf9a03ff0742c26a349a2030cecb9d5.tar.bz2
Tests: Move LINK_SEARCH_{START,END}_STATIC case to dedicated test
The test case added to RunCMake.set_property by commit 675ef165 (Allow LINK_SEARCH_{START,END}_STATIC props to have default values, 2015-08-07) is not a test of the set_property command and so belongs in its own test case. Create a new RunCMake.LinkStatic test to cover cases related to static linking. While at it, simplify the LINK_SEARCH_STATIC test case to enable only C.
Diffstat (limited to 'Tests/RunCMake/LinkStatic/RunCMakeTest.cmake')
-rw-r--r--Tests/RunCMake/LinkStatic/RunCMakeTest.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/Tests/RunCMake/LinkStatic/RunCMakeTest.cmake b/Tests/RunCMake/LinkStatic/RunCMakeTest.cmake
new file mode 100644
index 0000000..0d29492
--- /dev/null
+++ b/Tests/RunCMake/LinkStatic/RunCMakeTest.cmake
@@ -0,0 +1,3 @@
+include(RunCMake)
+
+run_cmake(LINK_SEARCH_STATIC)