Fix check for Msys

This commit is contained in:
Janek Bevendorff 2017-01-28 22:23:51 +01:00
parent 96ca7a8cbc
commit b7180893c6
No known key found for this signature in database
GPG Key ID: CFEC2F6850BFFA53

View File

@ -476,8 +476,7 @@ build() {
export CXX="$COMPILER"
if [ "" == "$DOCKER_IMAGE" ]; then
if [ "$(uname -i)" == "Msys" ]; then
if [ "$(uname -o)" == "Msys" ]; then
logInfo "Configuring build..."
cmake -DCMAKE_BUILD_TYPE=Release -DWITH_TESTS=Off -G"MSYS Makefiles" \
-DCMAKE_INSTALL_PREFIX="${INSTALL_PREFIX}" $CMAKE_OPTIONS "$SRC_DIR"