From eee89da1eb3ecc8005134fe86a3a172b6c3c157b Mon Sep 17 00:00:00 2001 From: Gunnar Beutner Date: Wed, 14 Jan 2015 13:19:20 +0100 Subject: [PATCH] Fix YAJL detection on Debian squeeze fixes #8214 --- cmake/FindYAJL.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/FindYAJL.cmake b/cmake/FindYAJL.cmake index b7d773273..186e31953 100644 --- a/cmake/FindYAJL.cmake +++ b/cmake/FindYAJL.cmake @@ -9,7 +9,7 @@ find_package(PkgConfig) pkg_check_modules(PC_YAJL QUIET yajl) set(YAJL_DEFINITIONS ${PC_YAJL_CFLAGS_OTHER}) -find_path(YAJL_INCLUDE_DIR yajl/yajl_parse.h +find_path(YAJL_INCLUDE_DIR yajl/yajl_version.h HINTS ${PC_YAJL_INCLUDEDIR} ${PC_YAJL_INCLUDE_DIRS} PATH_SUFFIXES libyajl) -- 2.40.0