diff options
author | Joseph Hunkeler <jhunkeler@gmail.com> | 2024-05-16 12:25:23 -0400 |
---|---|---|
committer | Joseph Hunkeler <jhunkeler@gmail.com> | 2024-05-16 12:25:23 -0400 |
commit | dcc811b2cd524841accce2dadd93143d845a298e (patch) | |
tree | 612bc648edc298fd532f9f82e2821014f382d46e | |
parent | eaaae2c0f77fe371b1da8c2c248888103d488961 (diff) | |
download | stasis-dcc811b2cd524841accce2dadd93143d845a298e.tar.gz |
cmake: Use expected package name for libxml2 (LibXml2)
-rw-r--r-- | .github/workflows/cmake-multi-platform.yml | 2 | ||||
-rw-r--r-- | CMakeLists.txt | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/.github/workflows/cmake-multi-platform.yml b/.github/workflows/cmake-multi-platform.yml index 3b33958..61ed38b 100644 --- a/.github/workflows/cmake-multi-platform.yml +++ b/.github/workflows/cmake-multi-platform.yml @@ -40,7 +40,7 @@ jobs: - name: Install Linux dependencies if: matrix.os == 'ubuntu-latest' run: > - sudo apt install -y libcurl4-openssl-dev rsync + sudo apt install -y libcurl4-openssl-dev libxml2-dev rsync - name: Configure CMake run: > diff --git a/CMakeLists.txt b/CMakeLists.txt index 5b8376e..0824baa 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -5,7 +5,7 @@ include(GNUInstallDirs) set(nix_cflags -Wall -Wextra -fPIC) set(win_cflags /Wall) set(CMAKE_C_STANDARD 99) -find_package(libxml2) +find_package(LibXml2) find_package(CURL) link_libraries(CURL::libcurl) link_libraries(LibXml2::LibXml2) |