diff --git a/.github/workflows/linux-build-qt5.yml b/.github/workflows/linux-build-qt5.yml index a759b6c..5bfc45b 100644 --- a/.github/workflows/linux-build-qt5.yml +++ b/.github/workflows/linux-build-qt5.yml @@ -22,6 +22,7 @@ jobs: - name: Install system dependencies run: | + sudo apt-get update && \ sudo apt-get install \ ninja-build \ libgmock-dev \ diff --git a/.github/workflows/linux-build-qt6.yml b/.github/workflows/linux-build-qt6.yml index c7e5820..1852e5d 100644 --- a/.github/workflows/linux-build-qt6.yml +++ b/.github/workflows/linux-build-qt6.yml @@ -22,6 +22,7 @@ jobs: - name: Install system dependencies run: | + sudo apt-get update && \ sudo apt-get install \ ninja-build \ libgmock-dev \ diff --git a/CMakeLists.txt b/CMakeLists.txt index 568e451..4e5caf8 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -5,7 +5,7 @@ cmake_minimum_required(VERSION 3.16) find_package(jsoncpp CONFIG) if(jsoncpp_FOUND) - set(JSONCPP_LIBRARIES jsoncpp_lib) + set(JSONCPP_LIBRARIES JsonCpp::JsonCpp) else() find_package(PkgConfig REQUIRED)