mirror of
https://github.com/logos-storage/logos-storage-nim-dht.git
synced 2026-01-11 01:43:10 +00:00
Add Nim 2.x specific configuration
This commit is contained in:
parent
d73dc48515
commit
9fdf0eca8a
@ -1,2 +1,9 @@
|
||||
|
||||
switch("define", "libp2p_pki_schemes=secp256k1")
|
||||
# begin Nimble config (version 2)
|
||||
when withDir(thisDir(), system.fileExists("nimble.paths")):
|
||||
include "nimble.paths"
|
||||
# end Nimble config
|
||||
|
||||
when (NimMajor, NimMinor) >= (2, 0):
|
||||
--mm:refc
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user