| ... | ... | @@ -339,7 +339,10 @@ pub fn build(b: *Builder) !void { |
| 339 | 339 | // That means we also have to rely on stage1 compiled c++ files. We parse config.h to find |
| 340 | 340 | // the information passed on to us from cmake. |
| 341 | 341 | if (cfg.cmake_prefix_path.len > 0) { |
| 342 | | b.addSearchPrefix(cfg.cmake_prefix_path); |
| 342 | var it = mem.tokenize(u8, cfg.cmake_prefix_path, ";"); |
| 343 | while (it.next()) |path| { |
| 344 | b.addSearchPrefix(path); |
| 345 | } |
| 343 | 346 | } |
| 344 | 347 | |
| 345 | 348 | try addCmakeCfgOptionsToExe(b, cfg, exe, use_zig_libcxx); |