Fixes issue linking against this SDK library when installed locally using the --install-prefix flag. The root cause is that YDLIDAR_SDK_LIBRARY_DIRS is set to empty. LINK_DIRS (PACKAGE_LINK_DIRS) variable is used to set the YDLIDAR_SDK_LIBRARY_DIRS in the resulting ydlidar_sdkConfig.cmake file.
Fixes issue linking against this SDK library when installed locally using the
--install-prefix
flag. The root cause is that YDLIDAR_SDK_LIBRARY_DIRS is set to empty. LINK_DIRS (PACKAGE_LINK_DIRS) variable is used to set the YDLIDAR_SDK_LIBRARY_DIRS in the resulting ydlidar_sdkConfig.cmake file.See discussion at https://github.com/colcon/colcon-core/issues/605 for details.