add_executable(tst_click_hook
    tst_click_hook.cpp
)

target_compile_definitions(tst_click_hook PRIVATE
    DEBUG_ENABLED
    HOOK_PROCESS="${CMAKE_SOURCE_DIR}/click-hook/click-hook"
)

target_link_libraries(tst_click_hook PRIVATE ${LIBACCOUNTS_LIBRARIES} ${LIBSIGNON_LIBRARIES} Qt5::Core Qt5::Test)

add_test(NAME tst_click_hook COMMAND $<TARGET_FILE:tst_click_hook>)
