Warning, /frameworks/kbookmarks/autotests/CMakeLists.txt is written in an unsupported language. File is not indexed.

0001 remove_definitions(-DQT_NO_CAST_FROM_ASCII)
0002 
0003 find_package(Qt6Test ${REQUIRED_QT_VERSION} CONFIG QUIET)
0004 
0005 if(NOT TARGET Qt6::Test)
0006     message(STATUS "Qt6Test not found, autotests will not be built.")
0007     return()
0008 endif()
0009 
0010 include(ECMAddTests)
0011 
0012 ecm_add_test(kbookmarktest.cpp TEST_NAME kbookmarktest LINK_LIBRARIES KF6::Bookmarks KF6::BookmarksWidgets Qt6::Test)