Merge topic 'FindGTest-add_test-signature'
293bcf7a FindGTest: use new add_test() signature (#14913)
This commit is contained in:
commit
96e9eb1766
@ -134,7 +134,7 @@ function(GTEST_ADD_TESTS executable extra_args)
|
|||||||
message(WARNING "Could not parse GTest ${hit} for adding to CTest.")
|
message(WARNING "Could not parse GTest ${hit} for adding to CTest.")
|
||||||
continue()
|
continue()
|
||||||
endif()
|
endif()
|
||||||
add_test(${test_name} ${executable} --gtest_filter=${test_name} ${extra_args})
|
add_test(NAME ${test_name} COMMAND ${executable} --gtest_filter=${test_name} ${extra_args})
|
||||||
endforeach()
|
endforeach()
|
||||||
endforeach()
|
endforeach()
|
||||||
endfunction()
|
endfunction()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user