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:
Cristian Adam
2020-01-31 12:45:20 +01:00
committed by Alessandro Portale
parent dd9a12af33
commit ba2a23834c

View File

@@ -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)