Skip to content

Commit

Permalink
[scripts][cmake] Install libxml2
Browse files Browse the repository at this point in the history
  • Loading branch information
NikitaZotov committed Oct 6, 2024
1 parent 83ce941 commit 116afbd
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
3 changes: 1 addition & 2 deletions sc-tools/sc-builder/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,10 @@ add_library(sc-builder-lib SHARED ${SOURCES})
target_link_libraries(sc-builder-lib
LINK_PUBLIC sc-memory
LINK_PUBLIC sc-config-utils
LINK_PRIVATE ${LIBXML2_LIBRARIES}
LINK_PRIVATE LibXml2::LibXml2
)
target_include_directories(sc-builder-lib
PUBLIC ${SC_BUILDER_SRC}
PRIVATE ${LIBXML2_INCLUDE_DIR}
)

add_executable(sc-builder "${SC_BUILDER_SRC}/src/main.cpp")
Expand Down
2 changes: 1 addition & 1 deletion scripts/install_deps_macOS.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ then
source "$(cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd)/set_vars.sh"
fi

brew install glib antlr antlr4-cpp-runtime temurin pkgconfig cmake ninja ccache asio websocketpp nlohmann-json
brew install glib antlr antlr4-cpp-runtime temurin pkgconfig cmake ninja ccache asio websocketpp nlohmann-json libxml2

"${SC_MACHINE_PATH}/scripts/install_deps_python.sh"
1 change: 1 addition & 0 deletions scripts/install_deps_ubuntu.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ packagelist_dev=(
libasio-dev
libwebsocketpp-dev
nlohmann-json3-dev
libxml2
python3-dev
)

Expand Down

0 comments on commit 116afbd

Please sign in to comment.