Commit bfcad3e8 authored by Christoph Cullmann's avatar Christoph Cullmann 🐮
Browse files

fix definition of TRANSLATION_DOMAIN

parent 3975a42e
......@@ -11,10 +11,7 @@ add_executable(kate-bin
target_link_libraries(kate-bin PRIVATE kateprivate)
# ensure consistent SingleApplication usage
target_compile_definitions(kate-bin PUBLIC -DQAPPLICATION_CLASS=QApplication)
# ensure right translations domain
target_compile_definitions(externaltoolsplugin PRIVATE TRANSLATION_DOMAIN="kateprivate")
target_compile_definitions(kate-bin PRIVATE -DQAPPLICATION_CLASS=QApplication)
# we have different windows icons, less margins
set(ICONS_FOLDER ${CMAKE_CURRENT_SOURCE_DIR}/icons/unix)
......
......@@ -3,6 +3,9 @@ add_library(kateprivate SHARED "")
set_target_properties(kateprivate PROPERTIES VERSION ${RELEASE_SERVICE_VERSION})
install(TARGETS kateprivate ${KDE_INSTALL_TARGETS_DEFAULT_ARGS} LIBRARY NAMELINK_SKIP)
# ensure right translations domain
target_compile_definitions(kateprivate PRIVATE TRANSLATION_DOMAIN="kateprivate")
configure_file(config.h.in config.h)
include(GenerateExportHeader)
......@@ -52,8 +55,8 @@ endif()
# optional KUserFeedback integration
find_package(KUserFeedback)
if (TARGET KUserFeedbackWidgets)
target_link_libraries(kateprivate PUBLIC KUserFeedbackWidgets)
target_compile_definitions(kateprivate PUBLIC -DWITH_KUSERFEEDBACK)
target_link_libraries(kateprivate PRIVATE KUserFeedbackWidgets)
target_compile_definitions(kateprivate PRIVATE -DWITH_KUSERFEEDBACK)
endif()
ki18n_wrap_ui(kateprivate ui/sessionconfigwidget.ui session/katesessionmanagedialog.ui)
......
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