Skip to content

Commit

Permalink
Fix dcp build with mingw
Browse files Browse the repository at this point in the history
  • Loading branch information
peterNordin committed Dec 17, 2024
1 parent d07a1fe commit 8c33e4e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions dependencies/setupDCPLib.bat
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ set codedir=%basedir%\%name%-code
set builddir=%basedir%\%name%-build
set installdir=%basedir%\%name%

call setHopsanBuildPaths.bat

if "%HOPSAN_BUILD_COMPILER%" == "mingw" (
echo Setting up MinGW expected paths
set xerces_lib=%basedir:\=/%xerces/bin/libxerces-c.dll
Expand All @@ -20,9 +22,9 @@ if "%HOPSAN_BUILD_COMPILER%" == "mingw" (
set zip_lib=%basedir%\libzip\lib\zip.lib
)

call setHopsanBuildPaths.bat

set PATH=%PATH_WITH_MSYS%
patch.exe --forward dcplib-code/include/core/dcp/model/pdu/IpToStr.hpp dcplib-patch.txt
set PATH=%PATH_WITHOUT_MSYS%

mkdir %builddir%
cd %builddir%
Expand Down

0 comments on commit 8c33e4e

Please sign in to comment.