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 ) 0017 0018 target_link_libraries(dumper 0019 QAccessibilityClient 0020 Qt${QT_MAJOR_VERSION}::Widgets 0021 ) 0022 0023 install(TARGETS dumper DESTINATION bin)