summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorCristian Adam <cristian.adam@qt.io>2020-01-31 12:45:20 +0100
committerAlessandro Portale <alessandro.portale@qt.io>2020-01-31 16:08:52 +0000
commitba2a23834c4b9597d32561aec94f56e801e24b9b (patch)
tree32247635dc42d76fc8a6c5cc560b9c1e2661883b /cmake
parentdd9a12af33283ad31e57bff600ad77801df6245d (diff)
downloadqt-creator-ba2a23834c4b9597d32561aec94f56e801e24b9b.tar.gz
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>
Diffstat (limited to 'cmake')
-rw-r--r--cmake/QtCreatorAPI.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/QtCreatorAPI.cmake b/cmake/QtCreatorAPI.cmake
index 8647bd49cf..5579936c16 100644
--- a/cmake/QtCreatorAPI.cmake
+++ b/cmake/QtCreatorAPI.cmake
@@ -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)