Fix for previous commit
This commit is contained in:
@@ -68,10 +68,13 @@ elif [[ "${KERNEL_NAME}" == "MINGW"* ]]; then
|
||||
echo "ERROR: On Windows MSVC_ARCH is to be set to either x86 or x64."
|
||||
exit 1
|
||||
fi
|
||||
if [ "${MSVC_ARCH}" == "x86" ]; then
|
||||
if [ "${MSVC_ARCH}" == "x64" ]; then
|
||||
BITNESS="64"
|
||||
elif [ "${MSVC_ARCH}" == "x86" ]; then
|
||||
BITNESS="32"
|
||||
else
|
||||
echo "ERROR: Unkown MSVC architecture ${MSVC_ARCH}"
|
||||
exit 1
|
||||
fi
|
||||
# TODO(sergey): Detect MSVC install somehow.
|
||||
"C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvarsall.bat" "${MSVC_ARCH}"
|
||||
|
Reference in New Issue
Block a user