Warning, /system/kcm-grub2/src/helper/CMakeLists.txt is written in an unsupported language. File is not indexed.
0001 # Set Include Directories 0002 if(HAVE_HD) 0003 set(kcmgrub2helper_INCLUDE_DIRS ${kcmgrub2helper_INCLUDE_DIRS} ${HD_INCLUDE_DIR}) 0004 endif(HAVE_HD) 0005 0006 # Set Sources 0007 set(kcmgrub2helper_SRCS helper.cpp) 0008 0009 # Set Link Libraries 0010 if(HAVE_HD) 0011 set(kcmgrub2helper_LINK_LIBS ${kcmgrub2helper_LINK_LIBS} ${HD_LIBRARY}) 0012 endif(HAVE_HD) 0013 0014 # Build & Link 0015 include_directories(${kcmgrub2helper_INCLUDE_DIRS}) 0016 add_executable(kcmgrub2helper ${kcmgrub2helper_SRCS}) 0017 target_link_libraries(kcmgrub2helper ${kcmgrub2helper_LINK_LIBS} KF5::AuthCore KF5::I18n) 0018 0019 # Install 0020 install(TARGETS kcmgrub2helper DESTINATION ${KAUTH_HELPER_INSTALL_DIR}) 0021 kauth_install_helper_files(kcmgrub2helper org.kde.kcontrol.kcmgrub2 root) 0022 kauth_install_actions(org.kde.kcontrol.kcmgrub2 kcmgrub2.actions)