On Fri, Dec 20, 2024 at 08:30:00PM +0100, Jochen Sprickerhof wrote: > I had a similar problem with the ros- packages and solved it with a top > level CMakeLists.txt doing add_subdirectory() for every project. Here is an > example: > https://sources.debian.org/src/ros-image-transport-plugins/1.15.0-3/debian/patches/0001-Add-CMakeLists.txt.patch/
Thanks, that approach worked for me! The relevant cmake patchery is at: https://salsa.debian.org/science-team/fcidecomp/-/commit/08ef2f18a6af813043a34d97b8bd9939b8f836f6 On Sun, Dec 22, 2024 at 07:13:17AM +0100, Helmut Grohne wrote: > If continuing with debhelper, I suspect your best bet is to configure, > build, and install the first project in an > execute_before_dh_auto_configure handling the second one. I appreciate > if you continue calling cmake through dh_auto_configure, because that > tends to makes cross building just work. Thanks! In the end I managed to turn everything into a hopefully well-behaved toplevel CMakeLists.txt, and go ahead with a standard debian/rules: https://salsa.debian.org/science-team/fcidecomp Enrico -- GPG key: 4096R/634F4BD1E7AD5568 2009-05-08 Enrico Zini <enr...@enricozini.org>