waylandpp-dev cmake configuration includes build time path
Package Information
- Package name: waylandpp-dev
- Package version: 1.0.0-r1
- Alpine version: 3.19
- Alpine architecture: x86_64
Summary
the cmake configuration cant be used, have to workaround via PkgConfig to use library.
i would suspect that the issue is present in 3.20/edge too since the packaged version is the same.
add this to the backlog or don't fix, really does not matter to me, i just added the issue since it popped up so it can be fixed.
Steps to reproduce
CMakeLists.txt
project(wlpp-testing)
add_executable(${PROJECT_NAME} main.cxx) # main.cxx is just a empty file to trigger the cmake error
find_package(waylandpp REQUIRED)
target_link_libraries(${PROJECT_NAME} PRIVATE Waylandpp::wayland-client++ )
output occured:
CMake Error in testing/CMakeLists.txt:
Imported target "Waylandpp::wayland-client++" includes non-existent path
"/home/buildozer/aports/community/waylandpp/src/waylandpp-1.0.0/"
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.