summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/ExternalProject/RunCMakeTest.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2015-05-08 13:18:50 (GMT)
committerBrad King <brad.king@kitware.com>2015-05-08 13:20:43 (GMT)
commitdcb188363d5faba80664c17e9a4713bbd5c0b372 (patch)
tree5403af400e5061d43e843a59b056b2332ab98b28 /Tests/RunCMake/ExternalProject/RunCMakeTest.cmake
parent4566850bdd48c53997c5aea4489d5949c7d26b0b (diff)
downloadCMake-dcb188363d5faba80664c17e9a4713bbd5c0b372.zip
CMake-dcb188363d5faba80664c17e9a4713bbd5c0b372.tar.gz
CMake-dcb188363d5faba80664c17e9a4713bbd5c0b372.tar.bz2
ExternalProject: Improve error when SOURCE_DIR is missing (#15560)
Mention the SOURCE_DIR that we checked and found empty or missing so that the user can see the full path to what we expected to find.
Diffstat (limited to 'Tests/RunCMake/ExternalProject/RunCMakeTest.cmake')
-rw-r--r--Tests/RunCMake/ExternalProject/RunCMakeTest.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/Tests/RunCMake/ExternalProject/RunCMakeTest.cmake b/Tests/RunCMake/ExternalProject/RunCMakeTest.cmake
index a82ffc9..e038409 100644
--- a/Tests/RunCMake/ExternalProject/RunCMakeTest.cmake
+++ b/Tests/RunCMake/ExternalProject/RunCMakeTest.cmake
@@ -1,5 +1,8 @@
include(RunCMake)
+run_cmake(NoOptions)
+run_cmake(SourceEmpty)
+run_cmake(SourceMissing)
run_cmake(CMAKE_CACHE_ARGS)
run_cmake(CMAKE_CACHE_DEFAULT_ARGS)
run_cmake(CMAKE_CACHE_mix)