瀏覽代碼

Fix `#include` directive for catch-main cpp file

default_compile_flags
vector-of-bool 5 年之前
父節點
當前提交
3a0f668fb8
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      src/dds/build.cpp

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

@@ -150,7 +150,7 @@ void prepare_catch2_driver(library_build_params& lib_params,

auto catch_cpp = test_include_root / "catch2" / fname;
auto cpp_strm = open(catch_cpp, std::ios::out | std::ios::binary);
cpp_strm << R"(#include "./catch.hpp"\n)";
cpp_strm << "#include \"./catch.hpp\"\n";
cpp_strm.close();

auto sf = source_file::from_path(catch_cpp, test_include_root);

Loading…
取消
儲存