Commit 9f9dd8df authored by Urs Fleisch's avatar Urs Fleisch
Browse files

Avoid CMake warnings when building debian package.

Set KDE_INSTALL_BINDIR to avoid:
KDE_INSTALL_BINDIR, KDE_INSTALL_LIBDIR and KDE_INSTALL_INCLUDEDIR should
either all be absolute paths or all be relative paths.

Set -Wno-dev to avoid:
"hi128-apps-kid3.png" has characters before the size; it should be renamed
to "128-apps-kid3.png"

This cannot be fixed without breaking compatibility with KDE 4.

The "ID header_left already defined" warnings cannot be fixed, they
seem to be a bug in libxml2-2.9.2, see
https://bugzilla.gnome.org/show_bug.cgi?id=737840
parent c8a2e657
......@@ -16,7 +16,8 @@ BASE_CMAKE_DEFS = -DCONFIG_INSTALL_DIR=$(DEB_CONFIG_INSTALL_DIR) \
-DKCFG_INSTALL_DIR=$(DEB_CMAKE_PREFIX)/share/kde4/config.kcfg
# KDE 4 END
# KDE 5 BEGIN
#BASE_CMAKE_DEFS = -DWITH_QT5=ON
#BASE_CMAKE_DEFS = -DWITH_QT5=ON \
# -DKDE_INSTALL_BINDIR=$(DEB_CMAKE_PREFIX)/bin -Wno-dev
# KDE 5 END
%:
......
Markdown is supported
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