diff --git a/tests/auto/testlib/selftests/CMakeLists.txt b/tests/auto/testlib/selftests/CMakeLists.txt index ff5aa8f311..ee1efa53fc 100644 --- a/tests/auto/testlib/selftests/CMakeLists.txt +++ b/tests/auto/testlib/selftests/CMakeLists.txt @@ -1,4 +1,4 @@ -# add_subdirectory(alive) # FIXME: Needs widgets +# add_subdirectory(alive) # TODO is commented in selftests.pri too. Investigate if should be readded add_subdirectory(assert) add_subdirectory(badxml) add_subdirectory(benchlibcallgrind) diff --git a/tests/auto/testlib/selftests/alive/CMakeLists.txt b/tests/auto/testlib/selftests/alive/CMakeLists.txt index 3523c5b11e..610fa3006c 100644 --- a/tests/auto/testlib/selftests/alive/CMakeLists.txt +++ b/tests/auto/testlib/selftests/alive/CMakeLists.txt @@ -1 +1,2 @@ -add_qt_test(alive SOURCES tst_alive.cpp) +add_qt_test(alive SOURCES tst_alive.cpp + LIBRARIES Widgets)