Warning, /libraries/libqaccessibilityclient/examples/dumper/CMakeLists.txt is written in an unsupported language. File is not indexed.
0001 cmake_minimum_required(VERSION 3.16.0) 0002 0003 project(dumper) 0004 0005 #To find the installed library: 0006 #set(LibKdeAccessibilityClient_DIR /usr/local/lib/cmake/) 0007 #find_package(LibKdeAccessibilityClient REQUIRED) 0008 0009 #Instead we just use the one in the build directory since that's what we want to test. 0010 0011 add_executable(dumper) 0012 0013 target_sources(dumper PRIVATE 0014 main.cpp 0015 dumper.cpp 0016 dumper.h 0017 ) 0018 0019 target_link_libraries(dumper 0020 QAccessibilityClient 0021 Qt${QT_MAJOR_VERSION}::Widgets 0022 ) 0023 0024 install(TARGETS dumper DESTINATION bin)