Skip to content

Commit c4fb728

Browse files
committed
Reenable FETCHCONTENT from extneral sources
which was disabled by debhelper: https://sources.debian.org/src/debhelper/13.26/debian/changelog#L710
1 parent 7a8dd45 commit c4fb728

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/build.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -219,6 +219,10 @@ function build_pkg {
219219

220220
trap 'rm -f ../*.dsc ../*.tar.gz; cd "$old_path"' RETURN # cleanup on build failure
221221

222+
# Reenable FETCHCONTENT from external sources (disabled by debhelper)
223+
# https://sources.debian.org/src/debhelper/13.26/debian/changelog#L710
224+
sed -i "/dh_auto_configure --/ a \ \ -DFETCHCONTENT_FULLY_DISCONNECTED=OFF \\\\" debian/rules
225+
222226
# Enable CATKIN_INSTALL_INTO_PREFIX_ROOT for catkin package
223227
if [ "$pkg_name" = "catkin" ]; then
224228
sed -i 's@-DCATKIN_BUILD_BINARY_PACKAGE="1"@-DCATKIN_INSTALL_INTO_PREFIX_ROOT="1"@' debian/rules

0 commit comments

Comments
 (0)