summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--llvm/runtimes/CMakeLists.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/runtimes/CMakeLists.txt b/llvm/runtimes/CMakeLists.txt
index 789a93c7e1f..139f6034e13 100644
--- a/llvm/runtimes/CMakeLists.txt
+++ b/llvm/runtimes/CMakeLists.txt
@@ -153,6 +153,9 @@ else() # if this is included from LLVM's CMake
if(LLVM_INCLUDE_TESTS)
set(test_targets runtimes-test-depends check-runtimes)
+ foreach(component ${SUB_COMPONENTS})
+ list(APPEND SUB_COMPONENT_CHECK_TARGETS check-${component})
+ endforeach()
endif()
# Create a runtimes target that uses this file as its top-level CMake file.
@@ -168,6 +171,7 @@ else() # if this is included from LLVM's CMake
EXTRA_TARGETS ${extra_targets}
${test_targets}
${SUB_COMPONENTS}
+ ${SUB_COMPONENT_CHECK_TARGETS}
${SUB_INSTALL_TARGETS}
USE_TOOLCHAIN)
if(LLVM_INCLUDE_TESTS)
OpenPOWER on IntegriCloud