Commit 04de3397 authored by Laurent Montel's avatar Laurent Montel
Browse files

Fix generate correct pri

parent 85645b63
Pipeline #244556 passed with stage
in 1 minute and 24 seconds
......@@ -308,11 +308,17 @@ ecm_generate_headers(libkleo_CamelCase_ui_HEADERS
RELATIVE ui
)
if (QT_MAJOR_VERSION STREQUAL "6")
ecm_generate_pri_file(BASE_NAME Libkleo
LIB_NAME KF5Libkleo
DEPS "QGpgme" FILENAME_VAR PRI_FILENAME INCLUDE_INSTALL_DIR ${KDE_INSTALL_INCLUDEDIR_KF}/Libkleo
)
else()
ecm_generate_pri_file(BASE_NAME Libkleo
LIB_NAME KF5Libkleo
DEPS "QGpgmeQt6" FILENAME_VAR PRI_FILENAME INCLUDE_INSTALL_DIR ${KDE_INSTALL_INCLUDEDIR_KF}/Libkleo
)
endif()
install(FILES
${libkleo_CamelCase_HEADERS}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment