From dc1fb365168d8ecbb0c0455d55c3d939d4b5006c Mon Sep 17 00:00:00 2001 From: Mateo Pidal Date: Wed, 5 May 2021 23:24:52 -0300 Subject: [PATCH] Properly set compiler for CMake --- .github/workflows/qt.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/qt.yml b/.github/workflows/qt.yml index f334fe7c..a5c0ff86 100644 --- a/.github/workflows/qt.yml +++ b/.github/workflows/qt.yml @@ -122,7 +122,11 @@ jobs: - name: build shell: cmd run: | + set PATH=D:\Qt\5.6.3\mingw49_32\bin;D:/Qt/Tools/mingw492_32\bin;%PATH% + set PATH=%CD%\zlib;%CD%\zlib\bin;%PATH% + set PATH=%CD%\OpenSSL;%PATH% + set PATH=C:\hostedtoolcache\windows\Java_Zulu_jdk\8.0.292-10\x86\bin;%PATH% mkdir build cd build - cmake -G "MinGW Makefiles" -DCMAKE_INSTALL_PREFIX=D:/MultiMC-Cracked ../ + CC=D:/Qt/Tools/mingw492_32\bin\gcc.exe CXX=D:/Qt/Tools/mingw492_32\bin\g++.exe cmake -G "MinGW Makefiles" -DCMAKE_INSTALL_PREFIX=D:/MultiMC-Cracked ../