diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 198a67d..550eed0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -57,7 +57,7 @@ jobs: - name: Install dependencies run: | sudo apt-get update -qq - sudo apt-get install -y check cmake libconfuse-dev libhiredis-dev libsqlite3-dev libsubunit-dev redis + sudo apt-get install -y check cmake libconfuse-dev libhiredis-dev libsqlite3-dev redis - name: Build PostSRSd run: | mkdir _build diff --git a/cmake/FindCheck.cmake b/cmake/FindCheck.cmake index dc93bf0..7649a46 100644 --- a/cmake/FindCheck.cmake +++ b/cmake/FindCheck.cmake @@ -21,7 +21,7 @@ else() NAMES check_pic check HINTS ${PC_CHECK_LIBRARY_DIRS} ) - find_path(Check_subunit_LIBRARY subunit HINTS ${PC_SUBUNIT_LIBRARY_DIRS}) + find_library(Check_subunit_LIBRARY subunit HINTS ${PC_SUBUNIT_LIBRARY_DIRS}) find_library(Check_m_LIBRARY m) find_library(Check_rt_LIBRARY rt) find_package(Threads REQUIRED)