diff options
author | Brad King <brad.king@kitware.com> | 2014-05-13 14:26:28 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2014-05-13 14:26:28 (GMT) |
commit | 96e9eb1766261605ebc97009d6ace20214eaa9a4 (patch) | |
tree | 8c1b87433c7bb2cadb92514e7eae0d5c64ff5ee6 /Modules/FindGTest.cmake | |
parent | 7f6132b93a17ce1af45aedf4405e3eae06c204c5 (diff) | |
parent | 293bcf7a6059af2293ee4d3f0509fcaf1eb66f72 (diff) | |
download | CMake-96e9eb1766261605ebc97009d6ace20214eaa9a4.zip CMake-96e9eb1766261605ebc97009d6ace20214eaa9a4.tar.gz CMake-96e9eb1766261605ebc97009d6ace20214eaa9a4.tar.bz2 |
Merge topic 'FindGTest-add_test-signature'
293bcf7a FindGTest: use new add_test() signature (#14913)
Diffstat (limited to 'Modules/FindGTest.cmake')
-rw-r--r-- | Modules/FindGTest.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/FindGTest.cmake b/Modules/FindGTest.cmake index 6a36ea6..e6b5b0a 100644 --- a/Modules/FindGTest.cmake +++ b/Modules/FindGTest.cmake @@ -134,7 +134,7 @@ function(GTEST_ADD_TESTS executable extra_args) message(WARNING "Could not parse GTest ${hit} for adding to CTest.") continue() 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() endfunction() |