You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Not totally sure, but it seems as if the PACKAGE_PREFIX_DIR variable that is set in qt/cmake/AppStreamQtConfig.cmake.in is wrong.
For example, when building the 'libdiscover' library from KDE under the Yocto build system, I get the following build error:
| CMake Error in libdiscover/CMakeLists.txt:
| Imported target "AppStreamQt" includes non-existent path
|
| "/path/to/build/tmp/work/core2-64-poky-linux/discover/6.1.3/recipe-sysroot/include/"
|
| in its INTERFACE_INCLUDE_DIRECTORIES. Possible reasons include:
|
| * The path was deleted, renamed, or moved to another location.
|
| * An install or uninstall procedure did not complete successfully.
|
| * The installation package was faulty and references files it does not
| provide.
One way I got libdiscover to compile correctly is by appyling the following patch to appstream:
qt/cmake/AppStreamQtConfig.cmake.in
@@ -1,5 +1,5 @@
-get_filename_component(PACKAGE_PREFIX_DIR "${CMAKE_CURRENT_LIST_DIR}/../../../../" ABSOLUTE)
+get_filename_component(PACKAGE_PREFIX_DIR "${CMAKE_CURRENT_LIST_DIR}/../../../" ABSOLUTE)
# Use original install prefix when loaded through a "/usr move"
# cross-prefix symbolic link such as /lib -> /usr/lib.
--
The text was updated successfully, but these errors were encountered:
Not totally sure, but it seems as if the
PACKAGE_PREFIX_DIR
variable that is set inqt/cmake/AppStreamQtConfig.cmake.in
is wrong.For example, when building the 'libdiscover' library from KDE under the Yocto build system, I get the following build error:
The path should have been:
instead of:
One way I got libdiscover to compile correctly is by appyling the following patch to appstream:
The text was updated successfully, but these errors were encountered: