| author | |
| committer | |
| log | e4fd3fd52b745ec450027656c041e33a9b758c24 |
| tree | 1b8c2ebd2ceffa0ab8b1adaeccfc9a67a1e2e3a4 |
| parent | 6288ad865cd0805cedcac242990c1b7b57950cc4 |
2 files changed, 4 insertions(+), 0 deletions(-)
CMakeLists.txt+3| ... | ... | @@ -709,6 +709,9 @@ target_link_libraries(zig LINK_PUBLIC |
| 709 | 709 | ${LLVM_LIBRARIES} |
| 710 | 710 | ${CMAKE_THREAD_LIBS_INIT} |
| 711 | 711 | ) |
| 712 | if(APPLE) | |
| 713 | target_link_libraries(zig LINK_PUBLIC xml2) | |
| 714 | endif() | |
| 712 | 715 | if(ZIG_DIA_GUIDS_LIB) |
| 713 | 716 | target_link_libraries(zig LINK_PUBLIC ${ZIG_DIA_GUIDS_LIB}) |
| 714 | 717 | endif() |
build.zig+1| ... | ... | @@ -68,6 +68,7 @@ pub fn build(b: &Builder) !void { |
| 68 | 68 | |
| 69 | 69 | exe.linkSystemLibrary("pthread"); |
| 70 | 70 | } else if (exe.target.isDarwin()) { |
| 71 | exe.linkSystemLibrary("xml2"); | |
| 71 | 72 | exe.linkSystemLibrary("c++"); |
| 72 | 73 | } |
| 73 | 74 |