Don't build tests unless this is the top level project
Consumers of the HAL implementation don't want to build its tests. Add
the standard CMake idiom to only build tests if this is the top level
project and BUILD_TESTING is enabled. BUILD_TESTING is enabled by
including the CTest module.
Signed-off-by:
Robert Walton <rob.walton@arm.com>
Loading
Please register or sign in to comment