Warning, /network/signon-kwallet-extension/tests/CMakeLists.txt is written in an unsupported language. File is not indexed.
0001 remove_definitions(-DQT_NO_CAST_FROM_ASCII) 0002 include(ECMAddTests) 0003 0004 find_package(Qt5Test ${REQUIRED_QT_VERSION} CONFIG QUIET) 0005 0006 if(NOT Qt5Test_FOUND) 0007 message(STATUS "Qt5Test not found, autotests will not be built.") 0008 return() 0009 endif() 0010 0011 include_directories(${SIGNONEXTENSION_INCLUDE_DIRS} ${CMAKE_SOURCE_DIR}/src ${CMAKE_BINARY_DIR}/src) 0012 0013 set(testextension_SRCS 0014 testextension.cpp 0015 ../src/keyringplugin.cpp 0016 ../src/secretsstorage.cpp 0017 ) 0018 0019 0020 ecm_add_tests(${testextension_SRCS} 0021 LINK_LIBRARIES Qt5::Test Qt5::Core KF5::Wallet ${SIGNONEXTENSION_LIBRARIES})