From 88d39150dd02f6fedfb274fbec192d48fba8a0d7 Mon Sep 17 00:00:00 2001 From: Quinn Date: Wed, 17 Sep 2025 11:07:21 +0200 Subject: [PATCH] test-fix: macosx compilation --- .github/workflows/ci.yaml | 2 +- Makefile | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 3604cff..a08cf93 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -13,7 +13,7 @@ jobs: - ubuntu-24.04-arm # - windows-latest # - windows-11-arm - # - macos-latest + - macos-latest runs-on: ${{matrix.os}} steps: - uses: actions/checkout@v5 diff --git a/Makefile b/Makefile index ea73c4e..9b9f720 100644 --- a/Makefile +++ b/Makefile @@ -33,6 +33,8 @@ ifeq ($(OS),Windows_NT) ISWIN = 1 NAME := $(NAME).exe $(warning Detected Windows_NT, please refer to the documentation if you encounter issues.) +else ifeq ($(shell uname -s),Darwin) +LDLIBS += -framework Cocoa -framework OpenGL -framework IOKit endif # TODO: find a better method to find all source files