mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-27 09:53:33 +08:00
Testing: switch unit tests to BUILD_TESTING
This commit is contained in:
@@ -41,7 +41,7 @@ include(px4_base)
|
||||
#
|
||||
function(px4_add_gtest)
|
||||
# skip if unit testing is not configured
|
||||
if(unit_testing)
|
||||
if(BUILD_TESTING)
|
||||
# parse source file and library dependencies from arguments
|
||||
px4_parse_function_args(
|
||||
NAME px4_add_gtest
|
||||
|
||||
Reference in New Issue
Block a user