summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/VSSolution/StartupProjectMissing-check.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/RunCMake/VSSolution/StartupProjectMissing-check.cmake')
-rw-r--r--Tests/RunCMake/VSSolution/StartupProjectMissing-check.cmake3
1 files changed, 2 insertions, 1 deletions
diff --git a/Tests/RunCMake/VSSolution/StartupProjectMissing-check.cmake b/Tests/RunCMake/VSSolution/StartupProjectMissing-check.cmake
index 95fede7..b1017dd 100644
--- a/Tests/RunCMake/VSSolution/StartupProjectMissing-check.cmake
+++ b/Tests/RunCMake/VSSolution/StartupProjectMissing-check.cmake
@@ -1,4 +1,5 @@
-getFirstProject(first_project StartupProjectMissing)
+getProjectNames(projects)
+list(GET projects 0 first_project)
if(NOT first_project STREQUAL "ALL_BUILD")
error("ALL_BUILD is not the startup project")
endif()