forked from qt-creator/qt-creator
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>
13 lines
200 B
CMake
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)
|