Skip to content

Commit

Permalink
Fix build 3.
Browse files Browse the repository at this point in the history
  • Loading branch information
hipersayanX committed Jun 23, 2024
1 parent 7c30187 commit 1972a49
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions ports/ci/windows-msys/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ echo
echo "Building x64 virtual camera driver"
echo

export PATH=/c/msys64/mingw64/bin:/c/msys64/usr/bin:${ORIG_PATH}
export PATH=/mingw64/bin:/c/msys64/mingw64/bin:/c/msys64/usr/bin:${ORIG_PATH}
buildDir=build-${COMPILER}-x64
mkdir -p ${buildDir}
cmake \
Expand All @@ -47,8 +47,8 @@ cmake \
-G "MSYS Makefiles" \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX="${INSTALL_PREFIX}" \
-DCMAKE_C_COMPILER="/c/msys64/mingw64/bin/${COMPILER_C}" \
-DCMAKE_CXX_COMPILER="/c/msys64/mingw64/bin/${COMPILER_CXX}" \
-DCMAKE_C_COMPILER="${COMPILER_C}" \
-DCMAKE_CXX_COMPILER="${COMPILER_CXX}" \
${EXTRA_PARAMS}
cmake --build ${buildDir} --parallel ${NJOBS}
cmake --build ${buildDir} --target install
Expand All @@ -57,7 +57,7 @@ echo
echo "Building x86 virtual camera driver"
echo

export PATH=/c/msys64/mingw32/bin:/c/msys64/usr/bin:${ORIG_PATH}
export PATH=/mingw32/bin:/c/msys64/mingw32/bin:/c/msys64/usr/bin:${ORIG_PATH}
buildDir=build-${COMPILER}-x86
mkdir -p ${buildDir}
cmake \
Expand All @@ -67,8 +67,8 @@ cmake \
-G "MSYS Makefiles" \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX="${INSTALL_PREFIX}" \
-DCMAKE_C_COMPILER="/c/msys64/mingw32/bin/${COMPILER_C}" \
-DCMAKE_CXX_COMPILER="/c/msys64/mingw32/bin/${COMPILER_CXX}" \
-DCMAKE_C_COMPILER="${COMPILER_C}" \
-DCMAKE_CXX_COMPILER="${COMPILER_CXX}" \
${EXTRA_PARAMS}
cmake --build ${buildDir} --parallel ${NJOBS}
cmake --build ${buildDir} --target install

0 comments on commit 1972a49

Please sign in to comment.