Skip to content

Commit

Permalink
Make json-glib a requirement regardless if libsoup has been found
Browse files Browse the repository at this point in the history
  • Loading branch information
lpereira committed Aug 13, 2020
1 parent a376e65 commit 0557696
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -89,9 +89,7 @@ else()
endif()

pkg_check_modules(LIBSOUP libsoup-2.4>=2.42)
if (LIBSOUP_FOUND)
pkg_check_modules(JSON_GLIB REQUIRED json-glib-1.0)
endif()
pkg_check_modules(JSON_GLIB REQUIRED json-glib-1.0)

pkg_check_modules(X11 REQUIRED x11)

Expand Down

0 comments on commit 0557696

Please sign in to comment.