Testing: switch unit tests to BUILD_TESTING

This commit is contained in:
Matthias Grob
2019-05-09 09:42:46 +02:00
parent 01e9b2cde8
commit 5020dfdc3d
4 changed files with 19 additions and 14 deletions
+1 -1
View File
@@ -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