Skip to content

Commit

Permalink
Fix build.
Browse files Browse the repository at this point in the history
  • Loading branch information
hipersayanX committed Jun 23, 2024
1 parent dc67052 commit 94e75d6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
5 changes: 3 additions & 2 deletions ports/ci/linux-mingw/install_deps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,8 @@ pacman --noconfirm --needed -S \
wine \
mingw-w64-pkg-config \
mingw-w64-cmake \
mingw-w64-gcc
mingw-w64-gcc \
xorg-server-xvfb

# Install NSIS

Expand All @@ -73,5 +74,5 @@ ${DOWNLOAD_CMD} "https://sourceforge.net/projects/nsis/files/NSIS%20${NSIS_VERSI
if [ -e ${nsis} ]; then
export WINEPREFIX=/opt/.wine

wine ./${nsis} /S
xvfb-run --auto-servernum wine ./${nsis} /S
fi
8 changes: 4 additions & 4 deletions ports/ci/windows-msys/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ cmake \
-G "MSYS Makefiles" \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX="${INSTALL_PREFIX}" \
-DCMAKE_C_COMPILER="${COMPILER_C}" \
-DCMAKE_CXX_COMPILER="${COMPILER_CXX}" \
-DCMAKE_C_COMPILER="/mingw64/bin/${COMPILER_C}" \
-DCMAKE_CXX_COMPILER="/mingw64/bin/${COMPILER_CXX}" \
${EXTRA_PARAMS}
cmake --build ${buildDir} --parallel ${NJOBS}
cmake --build ${buildDir} --target install
Expand All @@ -67,8 +67,8 @@ cmake \
-G "MSYS Makefiles" \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX="${INSTALL_PREFIX}" \
-DCMAKE_C_COMPILER="${COMPILER_C}" \
-DCMAKE_CXX_COMPILER="${COMPILER_CXX}" \
-DCMAKE_C_COMPILER="/mingw32/bin/${COMPILER_C}" \
-DCMAKE_CXX_COMPILER="/mingw32/bin/${COMPILER_CXX}" \
${EXTRA_PARAMS}
cmake --build ${buildDir} --parallel ${NJOBS}
cmake --build ${buildDir} --target install

0 comments on commit 94e75d6

Please sign in to comment.