From f7cd9155ce43ab5f0f0d6388d9b402af8b8cf9a5 Mon Sep 17 00:00:00 2001 From: Harlen Batagelo Date: Fri, 27 Aug 2021 18:39:59 -0300 Subject: [PATCH] Set compiler to GCC --- build.bat | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/build.bat b/build.bat index c7f10062..b3178ba4 100644 --- a/build.bat +++ b/build.bat @@ -7,7 +7,10 @@ rd /s /q build 2>nul mkdir build & cd build :: Configure -cmake -GNinja -DCMAKE_BUILD_TYPE=%BUILD_TYPE% .. +cmake -GNinja -DCMAKE_BUILD_TYPE=%BUILD_TYPE% ^ + -DCMAKE_CXX_COMPILER=g++ ^ + -DCMAKE_C_COMPILER=gcc ^ + .. :: Build cmake --build . --config %BUILD_TYPE% -- -j %NUMBER_OF_PROCESSORS%