Hi Markus, Am Tue, Dec 10, 2024 at 06:21:10PM +0100 schrieb Markus Blatt: > > Thanks a lot. The package was accepted from new, but it breaks > > globjects autopkgtest according to tracker[1]. I tried rebuilding (and > > refreshing packaging!) of globject but it also has some cmake issues. > > > > I think the problem is actually in glbinding: > > /usr/lib/x86_64-linux-gnu/cmake/glbinding/glbinding-config.cmake > might be missing a `find_package(KHR)` call that defines these targets (used > in /usr/lib/x86_64-linux-gnu/cmake/glbinding/glbinding-export.cmake). > Note that the file where the test for KHR is defined is > /usr/lib/x86_64-linux-gnu/cmake/glbinding/FindKHR.cmake. This needs to be > in the CMAKE_MODULE_PATH for this to work. > > list(PREPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_LIST_DIR}) > find_package(KHR) > list(POP_FRONT CMAKE_MODULE_PATH) > > > A workaround in globjects would be to put this after find_package(glbinding). > > list(PREPEND CMAKE_MODULE_PATH ${glbinding_DIR}) > find_package(KHR) > list(POP_FRONT CMAKE_MODULE_PATH)
Thanks a lot for your analysis. I'd be super happy if you could push an according commit to the repository (or at least create some MR). Thank you Andreas. -- https://fam-tille.de