Browse Source

Fix finding the INDEX.lmi in the build dir

default_compile_flags
vector-of-bool 5 years ago
parent
commit
4b3cd27f3d
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/dds/build.cpp

+ 1
- 1
src/dds/build.cpp View File

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 : {fs::path("INDEX.lmi"), params.out_root / "INDEX.lmi"}) { for (auto cand : {fs::path("INDEX.lmi"), params.out_root / "INDEX.lmi"}) {
if (!lm_index_path.empty()) {
if (fs::exists(lm_index_path)) {
break; break;
} }
lm_index_path = params.root / cand; lm_index_path = params.root / cand;

Loading…
Cancel
Save