From ec03755f2faca1755126238e0328e35b417cc492 Mon Sep 17 00:00:00 2001
From: Florent Pruvost <florent.pruvost@inria.fr>
Date: Thu, 14 Sep 2017 15:12:17 +0200
Subject: [PATCH] change name of function to check in hqr

---
 modules/find/FindHQR.cmake | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/find/FindHQR.cmake b/modules/find/FindHQR.cmake
index 7ac981c..563518e 100644
--- a/modules/find/FindHQR.cmake
+++ b/modules/find/FindHQR.cmake
@@ -259,7 +259,7 @@ if( (NOT PKG_CONFIG_EXECUTABLE) OR (PKG_CONFIG_EXECUTABLE AND NOT HQR_FOUND) OR
     # test link
     unset(HQR_WORKS CACHE)
     include(CheckFunctionExists)
-    check_function_exists(libhqr_hqr_init HQR_WORKS)
+    check_function_exists(libhqr_init_hqr HQR_WORKS)
     mark_as_advanced(HQR_WORKS)
 
     if(NOT HQR_WORKS)
-- 
GitLab