mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-02 07:31:36 +08:00
cmake add ECL_TESTS option only enabled in standalone build
This commit is contained in:
@@ -104,6 +104,7 @@ if(CMAKE_SOURCE_DIR STREQUAL PROJECT_SOURCE_DIR)
|
||||
enable_testing()
|
||||
|
||||
if(BUILD_TESTING)
|
||||
option(ECL_TESTS "Build ECL tests" ON)
|
||||
|
||||
add_custom_target(check
|
||||
COMMAND ${CMAKE_CTEST_COMMAND} --output-on-failure -C Debug
|
||||
|
||||
Reference in New Issue
Block a user