From 05576964c55469bce7abc55b45b8c3eaf43a501f Mon Sep 17 00:00:00 2001 From: Leandro Pereira Date: Thu, 13 Aug 2020 08:25:07 -0700 Subject: Make json-glib a requirement regardless if libsoup has been found --- CMakeLists.txt | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index b6719616..15421f46 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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) -- cgit v1.2.3