summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/find_path/RunCMakeTest.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2019-08-28 14:58:56 (GMT)
committerBrad King <brad.king@kitware.com>2019-08-28 15:18:53 (GMT)
commit4c8760c9fb2951d897a307637a761c371e48e615 (patch)
tree09c4406eacf7c3414339a96bc14f60d31a96dd74 /Tests/RunCMake/find_path/RunCMakeTest.cmake
parent40bbe50e23c06232ccf1c49589dde5dd84e1ac31 (diff)
downloadCMake-4c8760c9fb2951d897a307637a761c371e48e615.zip
CMake-4c8760c9fb2951d897a307637a761c371e48e615.tar.gz
CMake-4c8760c9fb2951d897a307637a761c371e48e615.tar.bz2
find_path: Fix crash on empty old-style list of names
Fixes: #19651
Diffstat (limited to 'Tests/RunCMake/find_path/RunCMakeTest.cmake')
-rw-r--r--Tests/RunCMake/find_path/RunCMakeTest.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/Tests/RunCMake/find_path/RunCMakeTest.cmake b/Tests/RunCMake/find_path/RunCMakeTest.cmake
index bf0fa89..3afbedc 100644
--- a/Tests/RunCMake/find_path/RunCMakeTest.cmake
+++ b/Tests/RunCMake/find_path/RunCMakeTest.cmake
@@ -1,5 +1,6 @@
include(RunCMake)
+run_cmake(EmptyOldStyle)
if(WIN32 OR CYGWIN)
run_cmake(PrefixInPATH)
endif()