We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 059fad8 commit 677ee43Copy full SHA for 677ee43
runtimes/CMakeLists.txt
@@ -73,7 +73,13 @@ if(${CMAKE_SOURCE_DIR} STREQUAL ${CMAKE_CURRENT_SOURCE_DIR})
73
# Setting a variable to let sub-projects detect which other projects
74
# will be included under here.
75
set(HAVE_${canon_name} On)
76
+ endforeach()
77
78
+ # We do this in two loops so that HAVE_* is set for each runtime before the
79
+ # other runtimes are added.
80
+ foreach(entry ${runtimes})
81
+ get_filename_component(projName ${entry} NAME)
82
+
83
# Between each sub-project we want to cache and clear the LIT properties
84
set_property(GLOBAL PROPERTY LLVM_LIT_TESTSUITES)
85
set_property(GLOBAL PROPERTY LLVM_LIT_PARAMS)
0 commit comments