From 94a892d6e71ccf3494cb381f77ae49baa891b5d5 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jos=C3=A9=20Fonseca?= Date: Thu, 31 Mar 2011 11:52:01 +0100 Subject: [PATCH] Don't fail when QJSON is not found. --- cmake/FindQJSON.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/FindQJSON.cmake b/cmake/FindQJSON.cmake index 32e294f..a7ca1d9 100644 --- a/cmake/FindQJSON.cmake +++ b/cmake/FindQJSON.cmake @@ -17,7 +17,7 @@ else (QJSON_INCLUDE_DIR AND QJSON_LIBRARIES) # use pkg-config to get the values of QJSON_INCLUDE_DIRS # and QJSON_LIBRARY_DIRS to add as hints to the find commands. include (FindPkgConfig) - pkg_check_modules (QJSON REQUIRED QJson>=0.5) + pkg_check_modules (QJSON QJson>=0.5) endif (NOT WIN32) find_library (QJSON_LIBRARIES -- 2.7.4