cross platform nimbus-build-system.paths configuration

previous version doesn't works on Windows.
This commit is contained in:
jangko 2022-09-15 14:25:59 +07:00
parent e355c376f7
commit c681c8bc35
No known key found for this signature in database
GPG Key ID: 31702AE10541E6B9
1 changed files with 3 additions and 4 deletions

View File

@ -1,9 +1,8 @@
import strutils
--noNimblePath
if getEnv("NIMBUS_BUILD_SYSTEM") == "yes" and
system.fileExists("nimbus-build-system.paths"):
when getEnv("NIMBUS_BUILD_SYSTEM") == "yes" and
system.fileExists("nimbus-build-system.paths"):
--noNimblePath
include "nimbus-build-system.paths"
if defined(release):