Bug#877351: libkf5kdegames-dev: cmake config generates wrong include paths
Package: libkf5kdegames-dev
Version: 4:16.08.3-1
Severity: important
Using KDEGAMES_INCLUDE_DIRS in a CMakeLists file does not work as
expected, we get this on commandline:
-I/usr/lib/x86_64-linux-gnu/cmake/KF5KDEGames
-I/usr/lib/x86_64-linux-gnu/cmake/KF5KDEGames/KDE
The source of the problem seems quite obvious in /usr/lib/x86_64-linux-gnu/cmake/KF5KDEGames/KF5KDEGamesConfig.cmake:
# compute paths
get_filename_component(KDEGAMES_CMAKE_DIR "${CMAKE_CURRENT_LIST_FILE}" PATH)
set(KDEGAMES_INCLUDE_DIR "${KDEGAMES_CMAKE_DIR}/")
set(KDEGAMES_INCLUDE_DIRS "${KDEGAMES_INCLUDE_DIR}" "${KDEGAMES_INCLUDE_DIR}/KDE")
-- System Information:
Debian Release: buster/sid
APT prefers stable
APT policy: (990, 'stable'), (900, 'testing'), (500, 'unstable-debug'), (500, 'testing-debug'), (500, 'unstable'), (500, 'oldstable'), (101, 'experimental'), (1, 'experimental-debug')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.9.0-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=C, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE=C (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Init: systemd (via /run/systemd/system)
Versions of packages libkf5kdegames-dev depends on:
ii libkf5completion-dev 5.28.0-1
ii libkf5declarative-dev 5.28.0-1
ii libkf5kdegames7 4:16.08.3-1
ii libkf5kdegamesprivate1 4:16.08.3-1
ii qtbase5-dev 5.7.1+dfsg-3+b1
libkf5kdegames-dev recommends no packages.
libkf5kdegames-dev suggests no packages.
-- no debconf information
Reply to: