This is an archive of the discontinued LLVM Phabricator instance.

[CMake] Remove redundant logic in runtimes/CMakeList.txt
ClosedPublic

Authored by aoli on Jul 20 2017, 11:12 AM.

Details

Summary

SUB_CHECK_TARGETS contains all test targets in SUB_COMPONENTS when
we load Components.cmake. We don't need to add those targets
again and having duplicate targets will break the cmake policy CMP0002.

Event Timeline

aoli created this revision.Jul 20 2017, 11:12 AM
phosek accepted this revision.Jul 21 2017, 6:37 PM

LGTM

This revision is now accepted and ready to land.Jul 21 2017, 6:37 PM
This revision was automatically updated to reflect the committed changes.