diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2025-01-06 19:36:23 +0100 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2025-01-06 19:36:23 +0100 |
commit | 80c59512ea66534456f62cffbd35f440a97b7bf7 (patch) | |
tree | a128cff24f913c0637a41ef620c18e3f668bd99b /src/rebuild.cc | |
parent | bce4efdae37898edfbfcd806453f94485c156bc1 (diff) |
Get rid of (hopefully) the last 'native' dir separators.
Diffstat (limited to 'src/rebuild.cc')
-rw-r--r-- | src/rebuild.cc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/rebuild.cc b/src/rebuild.cc index 1db5e83..4ca1809 100644 --- a/src/rebuild.cc +++ b/src/rebuild.cc @@ -186,7 +186,10 @@ bool recompileCheck(const ctor::settings& global_settings, int argc, char* argv[ ctor::settings settings{global_settings}; settings.verbose = -1; // Make check completely silent. - settings.builddir += "/ctor"; // override builddir to use ctor subdir + + // override builddir to use ctor subdir + auto ctor_builddir = std::filesystem::path(settings.builddir) / "ctor"; + settings.builddir = ctor_builddir.string(); { std::filesystem::path buildfile = settings.builddir; |