From 1cfb4acda61d8724fed50a9a23de150e334ce0a1 Mon Sep 17 00:00:00 2001 From: William Bell <62452284+Ugric@users.noreply.github.com> Date: Fri, 15 Aug 2025 19:52:33 +0100 Subject: [PATCH] fix CMakeLists.txt --- CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index d9bfcfe..a742bed 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -52,7 +52,9 @@ find_package(BDWgc REQUIRED) find_package(gmp REQUIRED) target_compile_options(argon PRIVATE -O3 -Wall -Wextra -Wno-unused-function -s) -target_link_options(argon PRIVATE -static) +if(NOT APPLE) + target_link_options(argon PRIVATE -static) +endif() target_link_libraries(argon PRIVATE BDWgc::BDWgc