summarylogtreecommitdiffstats
path: root/jsoncpp.patch
blob: ba3c96917f7df3f4a39c936ad08b55a2510c20e2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
diff --git a/CMakeLists.txt b/CMakeLists.txt
index b52dbb3..f278060 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -36,7 +36,8 @@ if(NOT USE_BUNDLED_LIBRARIES)
     include_directories(${LUA_INCLUDE_DIRS})
     
     # Look for JSON
-    find_package(jsoncpp CONFIG)
+    pkg_search_module(jsoncpp jsoncpp)
+    include_directories(${jsoncpp_INCLUDE_DIRS})
 
     # Look for Qxt
     pkg_search_module(QXT_CORE QxtCore-qt5)