summaryrefslogtreecommitdiff
path: root/packages/net-im/spectrum/files/Findjsoncpp.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'packages/net-im/spectrum/files/Findjsoncpp.cmake')
-rw-r--r--packages/net-im/spectrum/files/Findjsoncpp.cmake6
1 files changed, 6 insertions, 0 deletions
diff --git a/packages/net-im/spectrum/files/Findjsoncpp.cmake b/packages/net-im/spectrum/files/Findjsoncpp.cmake
new file mode 100644
index 0000000..0df562a
--- /dev/null
+++ b/packages/net-im/spectrum/files/Findjsoncpp.cmake
@@ -0,0 +1,6 @@
+find_package(PkgConfig)
+
+pkg_search_module(JSONCPP REQUIRED jsoncpp)
+
+#hack for non-default variable name
+set(JSONCPP_LIBRARY ${JSONCPP_LIBRARIES})