From 3bd7256295b6c1fc5ab2031b2b9a868993596ebd Mon Sep 17 00:00:00 2001 From: Oskari Timperi Date: Fri, 6 Apr 2018 23:51:24 +0300 Subject: Add current source dir to search path for compiler --- src/nimpb_build.nim | 1 + 1 file changed, 1 insertion(+) diff --git a/src/nimpb_build.nim b/src/nimpb_build.nim index ed4a07a..8ab8396 100644 --- a/src/nimpb_build.nim +++ b/src/nimpb_build.nim @@ -39,6 +39,7 @@ proc findCompiler(): string = paths = @[ getAppDir() / "src" / "nimpb_buildpkg" / "protobuf", getAppDir() / "nimpb_buildpkg" / "protobuf", + parentDir(currentSourcePath()) / "nimpb_buildpkg" / "protobuf", ] for path in paths: -- cgit v1.2.3