You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The logic for determining the installation destination would need to be added to ament_cmake_symlink_install_targets.cmake because ament_cmake_symlink_install.cmake.in is run as a script which doesn't have the variables needed to determine the default locations.
The most simple workaround is to specify destination locations explicitly:
Given a CMake installation which doesn't specify any destination arguments like this:
install(TARGETS testpkg)
CMake will determine the installation locations based on certain variables and eventually fall back to a static default.
When we symlink install, these default locations are not respected at all resulting in installation directly to the prefix directory.
Expected:
Actual:
The logic for determining the installation destination would need to be added to
ament_cmake_symlink_install_targets.cmake
becauseament_cmake_symlink_install.cmake.in
is run as a script which doesn't have the variables needed to determine the default locations.The most simple workaround is to specify destination locations explicitly:
The text was updated successfully, but these errors were encountered: