Files
qt-creator/tests/unit/CMakeLists.txt
Marco Bubke 44565bc39b GoogleTest: Hard wire google tests
There were problems with older google test versions which were found
instead. Now the google test version is always the same and there cannot
be "strange" compile bugs.

Change-Id: Ib3dc74d1abbe369fb37a4ee5616011d8e3696c01
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2023-06-22 10:19:50 +00:00

13 lines
200 B
CMake

find_package(GoogleBenchmark MODULE)
if (NOT TARGET Googletest)
return()
endif()
set(CMAKE_INCLUDE_CURRENT_DIR ON)
set(IMPLICIT_DEPENDS Qt::Test)
add_subdirectory(tests)
add_subdirectory(tools)