Skip to content

Commit 1fd2777

Browse files
committed
use default vs generator instead of ninja everywhere
1 parent 587daed commit 1fd2777

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
@@ -12,7 +12,10 @@ rd /s /q build
1212
mkdir build
1313
pushd build
1414

15-
set "CMAKE_GENERATOR=Ninja"
15+
@rem set "CMAKE_GENERATOR=Ninja"
16+
17+
@rem try to fix long paths issues by using default generator
18+
set "CMAKE_GENERATOR=Visual Studio %VS_MAJOR% %VS_YEAR%"
1619

1720
if "%PKG_NAME%" == "ros-@(ros_distro)-mimick-vendor" (
1821
set "CMAKE_GENERATOR=Visual Studio %VS_MAJOR% %VS_YEAR%"

0 commit comments

Comments
 (0)