]> git.notmuchmail.org Git - apitrace/commitdiff
Don't fail when QJSON is not found.
authorJosé Fonseca <jfonseca@vmware.com>
Thu, 31 Mar 2011 10:52:01 +0000 (11:52 +0100)
committerJosé Fonseca <jfonseca@vmware.com>
Thu, 31 Mar 2011 10:52:01 +0000 (11:52 +0100)
cmake/FindQJSON.cmake

index 32e294ffd5771a4cf40a5fcd79f730bb83a7f1bd..a7ca1d9c1967b269aefb524f7146229595172e71 100644 (file)
@@ -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