Changeset View
Changeset View
Standalone View
Standalone View
src/CMakeLists.txt
| 1 | 1 | | |||
|---|---|---|---|---|---|
| 2 | # target_include_directories does not handle empty include paths | 2 | # target_include_directories does not handle empty include paths | ||
| 3 | include_directories(${GPGME_INCLUDES}) | 3 | include_directories(${GPGME_INCLUDES} ${KSBA_INCLUDES}) | ||
| 4 | 4 | | |||
| 5 | add_definitions(-DTRANSLATION_DOMAIN=\"libkleopatra\") | 5 | add_definitions(-DTRANSLATION_DOMAIN=\"libkleopatra\") | ||
| 6 | 6 | | |||
| 7 | #add_definitions( -DQT_NO_CAST_FROM_ASCII ) | 7 | #add_definitions( -DQT_NO_CAST_FROM_ASCII ) | ||
| 8 | #add_definitions( -DQT_NO_CAST_TO_ASCII ) | 8 | #add_definitions( -DQT_NO_CAST_TO_ASCII ) | ||
| 9 | 9 | | |||
| 10 | kde_enable_exceptions() | 10 | kde_enable_exceptions() | ||
| 11 | 11 | | |||
| ▲ Show 20 Lines • Show All 51 Lines • ▼ Show 20 Line(s) | |||||
| 63 | 63 | | |||
| 64 | ki18n_wrap_ui(libkleo_ui_common_SRCS | 64 | ki18n_wrap_ui(libkleo_ui_common_SRCS | ||
| 65 | ui/directoryserviceswidget.ui | 65 | ui/directoryserviceswidget.ui | ||
| 66 | ) | 66 | ) | ||
| 67 | 67 | | |||
| 68 | set(kleo_LIB_SRCS ${libkleo_core_SRCS} ${libkleo_ui_SRCS} | 68 | set(kleo_LIB_SRCS ${libkleo_core_SRCS} ${libkleo_ui_SRCS} | ||
| 69 | ${libkleo_ui_common_SRCS}) | 69 | ${libkleo_ui_common_SRCS}) | ||
| 70 | 70 | | |||
| 71 | set(kleo_LIB_LIBS PUBLIC QGpgme Gpgmepp PRIVATE Qt5::Widgets | 71 | set(kleo_LIB_LIBS | ||
| 72 | PUBLIC | ||||
| 73 | QGpgme | ||||
| 74 | Gpgmepp | ||||
| 75 | PRIVATE | ||||
| 76 | Qt5::Widgets | ||||
| 72 | KF5::I18n | 77 | KF5::I18n | ||
| 73 | KF5::Completion | 78 | KF5::Completion | ||
| 74 | KF5::ConfigCore | 79 | KF5::ConfigCore | ||
| 75 | KF5::CoreAddons | 80 | KF5::CoreAddons | ||
| 76 | KF5::WindowSystem | 81 | KF5::WindowSystem | ||
| 77 | KF5::WidgetsAddons | 82 | KF5::WidgetsAddons | ||
| 78 | KF5::ItemModels | 83 | KF5::ItemModels | ||
| 79 | KF5::Codecs) | 84 | KF5::Codecs | ||
| 85 | ${KSBA_LIBRARIES} | ||||
| 86 | ) | ||||
| 80 | 87 | | |||
| 81 | if (KF5PimTextEdit_FOUND) | 88 | if (KF5PimTextEdit_FOUND) | ||
| 82 | add_definitions(-DHAVE_PIMTEXTEDIT) | 89 | add_definitions(-DHAVE_PIMTEXTEDIT) | ||
| 83 | set(kleo_LIB_LIBS ${kleo_LIB_LIBS} PRIVATE KF5::PimTextEdit) | 90 | set(kleo_LIB_LIBS ${kleo_LIB_LIBS} PRIVATE KF5::PimTextEdit) | ||
| 84 | endif() | 91 | endif() | ||
| 85 | 92 | | |||
| 86 | add_library(KF5Libkleo ${kleo_LIB_SRCS}) | 93 | add_library(KF5Libkleo ${kleo_LIB_SRCS}) | ||
| 87 | generate_export_header(KF5Libkleo BASE_NAME kleo) | 94 | generate_export_header(KF5Libkleo BASE_NAME kleo) | ||
| ▲ Show 20 Lines • Show All 119 Lines • Show Last 20 Lines | |||||