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"
|
||||
|
||||
namedBin = {
|
||||
"nimbus/nimbus": "nimbus",
|
||||
"fluffy/fluffy": "fluffy",
|
||||
"fluffy/tools/portalcli": "portalcli",
|
||||
}.toTable()
|
||||
when declared(namedBin):
|
||||
namedBin = {
|
||||
"nimbus/nimbus": "nimbus",
|
||||
"fluffy/fluffy": "fluffy",
|
||||
"fluffy/tools/portalcli": "portalcli",
|
||||
}.toTable()
|
||||
|
||||
proc buildBinary(name: string, srcDir = "./", params = "", lang = "c") =
|
||||
if not dirExists "build":
|
||||
|
|
Loading…
Reference in New Issue