Fix the build under Nim 1.2

This commit is contained in:
Zahary Karadjov 2022-03-30 23:27:10 +03:00
parent c8dff12591
commit 6c94291eee
No known key found for this signature in database
GPG Key ID: C8936F8A3073D609
1 changed files with 6 additions and 5 deletions

View File

@ -22,11 +22,12 @@ requires "nim >= 1.2.0",
binDir = "build" binDir = "build"
namedBin = { when declared(namedBin):
"nimbus/nimbus": "nimbus", namedBin = {
"fluffy/fluffy": "fluffy", "nimbus/nimbus": "nimbus",
"fluffy/tools/portalcli": "portalcli", "fluffy/fluffy": "fluffy",
}.toTable() "fluffy/tools/portalcli": "portalcli",
}.toTable()
proc buildBinary(name: string, srcDir = "./", params = "", lang = "c") = proc buildBinary(name: string, srcDir = "./", params = "", lang = "c") =
if not dirExists "build": if not dirExists "build":