Warning, /frameworks/kwallet/autotests/CMakeLists.txt is written in an unsupported language. File is not indexed.
0001 include(ECMAddTests) 0002 0003 find_package(Qt${QT_MAJOR_VERSION}Test ${REQUIRED_QT_VERSION} CONFIG QUIET) 0004 0005 if(NOT TARGET Qt${QT_MAJOR_VERSION}::Test) 0006 message(STATUS "Qt${QT_MAJOR_VERSION}Test not found, autotests will not be built.") 0007 return() 0008 endif() 0009 0010 if(BUILD_KWALLETD) 0011 ecm_add_tests( 0012 blowfishtest.cpp 0013 LINK_LIBRARIES Qt${QT_MAJOR_VERSION}::Test kwalletbackend5 0014 ) 0015 0016 target_include_directories(blowfishtest PRIVATE ${CMAKE_SOURCE_DIR}/src/runtime/kwalletd 0017 ${CMAKE_BINARY_DIR}/src/runtime/kwalletd/backend) 0018 endif() 0019 0020 add_subdirectory(KWallet)