Skip to content

Conversation

larshg
Copy link
Contributor

@larshg larshg commented Oct 5, 2025

No description provided.

@larshg larshg changed the title Remains from when tools was part of libraries. Remove remains from when tools was part of libraries. Oct 5, 2025
list(APPEND EXT_DEPS rssdk)
endif()

PCL_MAKE_PKGCONFIG(${LIB_NAME} COMPONENT ${SUBSYS_NAME} DESC ${SUBSYS_DESC} PCL_DEPS ${SUBSYS_DEPS} EXT_DEPS ${EXT_DEPS})
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The EXT_DEPS variable is now empty/undefined here. Is there a reason why vtk is not listed in there?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Its set in the top in line 6.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am not sure what you mean -- in line 6, vtk is passed as the EXT_DEPS parameter of the PCL_SUBSYS_DEPEND macro, but I do not see how that would set the variable EXT_DEPS here.
However, I believe it is correct that vtk is not passed as the EXT_DEPS parameter to PCL_MAKE_PKGCONFIG because there is no file vtk.pc (compare e.g. #5110 ). So it seems to me that the EXT_DEPS parameter should simply be removed from PCL_MAKE_PKGCONFIG?

list(APPEND EXT_DEPS rssdk)
endif()

PCL_MAKE_PKGCONFIG(${LIB_NAME} COMPONENT ${SUBSYS_NAME} DESC ${SUBSYS_DESC} PCL_DEPS ${SUBSYS_DEPS} EXT_DEPS ${EXT_DEPS})
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
PCL_MAKE_PKGCONFIG(${LIB_NAME} COMPONENT ${SUBSYS_NAME} DESC ${SUBSYS_DESC} PCL_DEPS ${SUBSYS_DEPS} EXT_DEPS ${EXT_DEPS})
PCL_MAKE_PKGCONFIG(${LIB_NAME} COMPONENT ${SUBSYS_NAME} DESC ${SUBSYS_DESC} PCL_DEPS ${SUBSYS_DEPS})

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants