Skip to content

Commit

Permalink
Merge pull request #12 from Kicer86/jsonlib_detection
Browse files Browse the repository at this point in the history
Improve JsonCpp usage
  • Loading branch information
Kicer86 authored Mar 2, 2023
2 parents a2c08e4 + d89a083 commit f5abb57
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/linux-build-qt5.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ jobs:

- name: Install system dependencies
run: |
sudo apt-get update && \
sudo apt-get install \
ninja-build \
libgmock-dev \
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/linux-build-qt6.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ jobs:

- name: Install system dependencies
run: |
sudo apt-get update && \
sudo apt-get install \
ninja-build \
libgmock-dev \
Expand Down
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit f5abb57

Please sign in to comment.