limits option to amd64

This commit is contained in:
Ben 2025-11-17 14:37:12 +01:00
parent 35c5a33b4f
commit a634073a31
No known key found for this signature in database
GPG Key ID: 0F16E812E736C24B

View File

@ -108,7 +108,7 @@ proc overrideCMakeMarch() =
# not necessarily available on the user system.
# To be able to build portable binaries, we have no choice but
# to modify the CMakeLists.txt
when defined(nimleopard_portable_build):
when defined(nimleopard_portable_build) and defined(amd64):
if defined(windows) or defined(unix):
let
cmakeFile = joinPath(LeopardDir, "CMakeLists.txt")