Fix the build under Nim 1.2
This commit is contained in:
parent
c8dff12591
commit
6c94291eee
|
@ -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":
|
||||||
|
|
Loading…
Reference in New Issue