BUILD_TESTING is a standard CMake variable that the users expect to be available, so let's use that instead of the custom IDYNTREE_COMPILE_TESTS . I do not think we need any fallback to still support IDYNTREE_COMPILE_TESTS as is just a dev-related option.
BUILD_TESTING
is a standard CMake variable that the users expect to be available, so let's use that instead of the customIDYNTREE_COMPILE_TESTS
. I do not think we need any fallback to still supportIDYNTREE_COMPILE_TESTS
as is just a dev-related option.