1
mirror of https://invent.kde.org/network/falkon.git synced 2024-09-22 10:12:10 +02:00
falkonOfficial/tests/autotests/CMakeLists.txt

25 lines
686 B
CMake
Raw Normal View History

2017-09-10 15:17:07 +02:00
set(autotests_EXTRA_LIBS )
if (KDE_INTEGRATION AND KF5Wallet_FOUND)
add_definitions(-DHAVE_KDE_PASSWORDS_PLUGIN)
set(autotests_EXTRA_LIBS ${autotests_EXTRA_LIBS} ${CMAKE_BINARY_DIR}/bin/plugins/libKWalletPasswords.so)
endif()
if (GNOME_INTEGRATION AND GNOME_KEYRING_FOUND)
add_definitions(-DHAVE_GNOME_PASSWORDS_PLUGIN)
set(autotests_EXTRA_LIBS ${autotests_EXTRA_LIBS} ${CMAKE_BINARY_DIR}/bin/plugins/libGnomeKeyringPasswords.so)
endif()
set( autotests_SRCS
qztoolstest.cpp
main.cpp
cookiestest.cpp
adblocktest.cpp
updatertest.cpp
passwordbackendtest.cpp
)
add_executable(autotests ${autotests_SRCS})
target_link_libraries(autotests FalkonPrivate Qt5::Test)