summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/add_subdirectory/DoesNotExist.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2015-08-04 20:39:31 (GMT)
committerBrad King <brad.king@kitware.com>2015-08-04 20:40:13 (GMT)
commitc4d2f64f3c9dea3a5fcd8af5bb389db00ccd64df (patch)
tree596b19e548936fa12d6c0d5b1058a82e4a333d88 /Tests/RunCMake/add_subdirectory/DoesNotExist.cmake
parent3a0db0223b8c10cfaa6984253d794ab97425adf9 (diff)
downloadCMake-c4d2f64f3c9dea3a5fcd8af5bb389db00ccd64df.zip
CMake-c4d2f64f3c9dea3a5fcd8af5bb389db00ccd64df.tar.gz
CMake-c4d2f64f3c9dea3a5fcd8af5bb389db00ccd64df.tar.bz2
add_subdirectory: Fix error message on missing CMakeLists.txt (#15680)
Refactoring in commit v3.3.0-rc1~76^2 (cmMakefile: Handle CMP0014 before configuring the generator, 2015-05-14) accidentally left the file name "/CMakeLists.txt" in the error message. Remove it and add a test case.
Diffstat (limited to 'Tests/RunCMake/add_subdirectory/DoesNotExist.cmake')
-rw-r--r--Tests/RunCMake/add_subdirectory/DoesNotExist.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/Tests/RunCMake/add_subdirectory/DoesNotExist.cmake b/Tests/RunCMake/add_subdirectory/DoesNotExist.cmake
new file mode 100644
index 0000000..fe2945c
--- /dev/null
+++ b/Tests/RunCMake/add_subdirectory/DoesNotExist.cmake
@@ -0,0 +1 @@
+add_subdirectory(DoesNotExist)