From b207d23e3c27ea0a7a2a9b14fc03a98065b1da24 Mon Sep 17 00:00:00 2001 From: vansangpfiev Date: Mon, 26 Aug 2024 12:07:50 +0700 Subject: [PATCH] fix: Makefile --- .github/workflows/cortex-cpp-quality-gate.yml | 1 + engine/Makefile | 12 ++++++------ 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/workflows/cortex-cpp-quality-gate.yml b/.github/workflows/cortex-cpp-quality-gate.yml index b9515858f..97db3ea2d 100644 --- a/.github/workflows/cortex-cpp-quality-gate.yml +++ b/.github/workflows/cortex-cpp-quality-gate.yml @@ -71,6 +71,7 @@ jobs: - name: Configure vcpkg run: | + cd engine make configure-vcpkg - name: Build diff --git a/engine/Makefile b/engine/Makefile index a3fdaa0fd..ae4a49258 100644 --- a/engine/Makefile +++ b/engine/Makefile @@ -20,14 +20,14 @@ all: configure-vcpkg: ifeq ($(OS),Windows_NT) - @cd engine/vcpkg && bootstrap-vcpkg.bat; - @cd engine/vcpkg && vcpkg install + @cd vcpkg && bootstrap-vcpkg.bat; + @cd vcpkg && vcpkg install else ifeq ($(shell uname -s),Linux) - @cd engine/vcpkg && ./bootstrap-vcpkg.sh; - @cd engine/vcpkg && ./vcpkg install; + @cd vcpkg && ./bootstrap-vcpkg.sh; + @cd vcpkg && ./vcpkg install; else - @cd engine/vcpkg && ./bootstrap-vcpkg.sh; - @cd engine/vcpkg && ./vcpkg install; + @cd vcpkg && ./bootstrap-vcpkg.sh; + @cd vcpkg && ./vcpkg install; endif # Build the Cortex engine