Skip to content

Commit 587daed

Browse files
committed
fix unique-identifier-msgs long paths issues
1 parent 1ad2c61 commit 587daed

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

vinca/templates/bld_ament_cmake.bat.in

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@ set "CMAKE_GENERATOR=Ninja"
1717
if "%PKG_NAME%" == "ros-@(ros_distro)-mimick-vendor" (
1818
set "CMAKE_GENERATOR=Visual Studio %VS_MAJOR% %VS_YEAR%"
1919
)
20+
if "%PKG_NAME%" == "ros-@(ros_distro)-unique-identifier-msgs" (
21+
set "CMAKE_GENERATOR=Visual Studio %VS_MAJOR% %VS_YEAR%"
22+
)
2023

2124
cmake ^
2225
-G "%CMAKE_GENERATOR%" ^
@@ -27,7 +30,7 @@ cmake ^
2730
-DSETUPTOOLS_DEB_LAYOUT=OFF ^
2831
-DBUILD_SHARED_LIBS=ON ^
2932
-DBUILD_TESTING=OFF ^
30-
-DCMAKE_OBJECT_PATH_MAX=128 ^
33+
-DCMAKE_OBJECT_PATH_MAX=255 ^
3134
%SRC_DIR%\%PKG_NAME%\src\work
3235
if errorlevel 1 exit 1
3336

0 commit comments

Comments
 (0)