Skip to content
Commit b21a0b30 authored by Rob Walton's avatar Rob Walton Committed by Filip Jagodzinski
Browse files

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: Rob Walton's avatarRobert Walton <rob.walton@arm.com>
parent c8089f1d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment