Warning, /plasma/kde-cli-tools/kdesu/CMakeLists.txt is written in an unsupported language. File is not indexed.
0001 add_executable(kdesu_executable kdesu.cpp sudlg.cpp sudlg.h) 0002 target_compile_definitions(kdesu_executable PRIVATE -DPROJECT_VERSION="${PROJECT_VERSION}") 0003 0004 # in KDELibsDependencies.cmake installed by kdelibs there is a dependency to "kdesu" 0005 # which is then recognized here as the target name for this executable 0006 # so give the target here a different name and use the OUTPUT_NAME property to 0007 # give it the name kdesu 0008 set_target_properties(kdesu_executable PROPERTIES OUTPUT_NAME kdesu) 0009 0010 target_link_libraries(kdesu_executable Qt::GuiPrivate KF6::WidgetsAddons KF6::I18n KF6::ConfigCore KF6::WindowSystem KF6::Su) 0011 0012 install(TARGETS kdesu_executable DESTINATION ${KDE_INSTALL_LIBEXECDIR_KF}) 0013 0014 0015 0016 0017