forked from qt-creator/qt-creator
CMake Build: Brought back GoogleTest unittest
It was removed by accident from ctest, and it was not ran on GitHub Actions. Change-Id: I044bc5fc96e71211982c07c8796974e97fff5737 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
This commit is contained in:
committed by
Alessandro Portale
parent
dd9a12af33
commit
ba2a23834c
@@ -991,7 +991,7 @@ function(add_qtc_test name)
|
||||
endfunction()
|
||||
|
||||
function(finalize_qtc_gtest test_name)
|
||||
if (NOT TARGET test_name)
|
||||
if (NOT TARGET ${test_name})
|
||||
return()
|
||||
endif()
|
||||
get_target_property(test_sources ${test_name} SOURCES)
|
||||
|
Reference in New Issue
Block a user