diff semicongine.nimble @ 979:6406766a222d

fix: tests
author sam <sam@basx.dev>
date Sat, 06 Apr 2024 15:27:09 +0700
parents a8ce28444cf2
children 4e487f06378b
line wrap: on
line diff
--- a/semicongine.nimble	Fri Apr 05 23:19:45 2024 +0700
+++ b/semicongine.nimble	Sat Apr 06 15:27:09 2024 +0700
@@ -6,14 +6,13 @@
 description = "Game engine, for games that run on semiconductor engines"
 license = "MIT"
 backend = "c"
-installDirs = @["semicongine"]
 
-# Dependencies
-# On linux/debian also run the following to get everything working
-# sudo dpkg --add-architecture i386
-# sudo apt-get update
-# sudo apt-get install zip unzip libstdc++6:i386 libc6:i386
-
+if detectOS(Linux):
+  foreignDep "zip"
+  foreignDep "unzip"
+  # required for builds using steam
+  foreignDep "libstdc++6:i386"
+  foreignDep "libc6:i386"
 
 requires "nim >= 2.0"
 requires "winim"