| author | |
| committer | |
| log | 10fb1f2730cb2d1760233622e232b35d21d651ea |
| tree | 3bca65111c5df56a7a4882657200746b7675c0c5 |
| parent | 152b408934a5f933fd5cbdd2fa8cad4b343781bb |
| parent | e4fd3fd52b745ec450027656c041e33a9b758c24 |
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 |