Skip to content

Commit

Permalink
Merge branch 'test-ci'
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrea Orru committed Mar 10, 2018
2 parents 152b408 + e4fd3fd commit 10fb1f2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CMakeLists.txt
Expand Up @@ -709,6 +709,9 @@ target_link_libraries(zig LINK_PUBLIC
${LLVM_LIBRARIES}
${CMAKE_THREAD_LIBS_INIT}
)
if(APPLE)
target_link_libraries(zig LINK_PUBLIC xml2)
endif()
if(ZIG_DIA_GUIDS_LIB)
target_link_libraries(zig LINK_PUBLIC ${ZIG_DIA_GUIDS_LIB})
endif()
Expand Down
1 change: 1 addition & 0 deletions build.zig
Expand Up @@ -68,6 +68,7 @@ pub fn build(b: &Builder) !void {

exe.linkSystemLibrary("pthread");
} else if (exe.target.isDarwin()) {
exe.linkSystemLibrary("xml2");
exe.linkSystemLibrary("c++");
}

Expand Down

0 comments on commit 10fb1f2

Please sign in to comment.