From: José Fonseca Date: Thu, 31 Mar 2011 10:52:01 +0000 (+0100) Subject: Don't fail when QJSON is not found. X-Git-Url: https://git.cworth.org/git?a=commitdiff_plain;h=94a892d6e71ccf3494cb381f77ae49baa891b5d5;p=apitrace Don't fail when QJSON is not found. --- 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