Skip to content

Commit

Permalink
Attempt to fix patch command for msvc
Browse files Browse the repository at this point in the history
  • Loading branch information
robbr48 committed Oct 22, 2024
1 parent 48071ad commit 8b5e0c9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions dependencies/setupDCPLib.bat
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,11 @@ set xercesdir=%basedir:\=/%xerces

call setHopsanBuildPaths.bat

if "%HOPSAN_BUILD_COMPILER%" == "msvc" (
"%git_path%\..\usr\bin\patch" dcplib-code/include/core/dcp/model/pdu/IpToStr.hpp dcplib-patch.txt
) else (
patch dcplib-code/include/core/dcp/model/pdu/IpToStr.hpp dcplib-patch.txt
)

mkdir %builddir%
cd %builddir%
Expand Down

0 comments on commit 8b5e0c9

Please sign in to comment.