瀏覽代碼

Respect the build dir when looking for INDEX.lmi

default_compile_flags
vector-of-bool 5 年之前
父節點
當前提交
fe448f0bc5
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      src/dds/build.cpp

+ 1
- 1
src/dds/build.cpp 查看文件



if (!lib.manifest().uses.empty() || !lib.manifest().links.empty()) { if (!lib.manifest().uses.empty() || !lib.manifest().links.empty()) {
fs::path lm_index_path = params.lm_index; fs::path lm_index_path = params.lm_index;
for (auto cand : {"INDEX.lmi", "_build/INDEX.lmi"}) {
for (auto cand : {fs::path("INDEX.lmi"), params.out_root / "INDEX.lmi"}) {
if (!lm_index_path.empty()) { if (!lm_index_path.empty()) {
break; break;
} }

Loading…
取消
儲存