diff options
Diffstat (limited to 'source/slangc/main.cpp')
| -rw-r--r-- | source/slangc/main.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/slangc/main.cpp b/source/slangc/main.cpp index 887eca77a..2870a5a3c 100644 --- a/source/slangc/main.cpp +++ b/source/slangc/main.cpp @@ -89,6 +89,7 @@ SLANG_TEST_TOOL_API SlangResult innerMain(StdWriters* stdWriters, slang::IGlobal } SlangCompileRequest* compileRequest = spCreateCompileRequest(session); + compileRequest->addSearchPath(Path::getParentDirectory(Path::getExecutablePath()).getBuffer()); SlangResult res = _compile(compileRequest, argc, argv); // Now that we are done, clean up after ourselves spDestroyCompileRequest(compileRequest); |
