From 1e9906e59ed1a2a5343b1fcd233e572ac92e41b7 Mon Sep 17 00:00:00 2001
From: Joaquim Casals <jcasals@iri.upc.edu>
Date: Mon, 6 May 2019 14:18:30 +0200
Subject: [PATCH] Updated Findwolf according to refactors

---
 cmake_modules/Findwolf.cmake | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/cmake_modules/Findwolf.cmake b/cmake_modules/Findwolf.cmake
index 19dee9a0b..469f3372a 100644
--- a/cmake_modules/Findwolf.cmake
+++ b/cmake_modules/Findwolf.cmake
@@ -1,10 +1,10 @@
 #edit the following line to add the librarie's header files
 FIND_PATH(
     wolf_INCLUDE_DIRS
-    # NAMES wolf.h
-    PATHS /usr/local/include/iri-algorithms/wolf)
+    NAMES wolf.found
+    PATHS /usr/local/include/iri-algorithms/wolf/plugin_core)
 #change INCLUDE_DIRS to its parent directory
-get_filename_component(wolf_INCLUDE_DIRS ${wolf_INCLUDE_DIRS} DIRECTORY)
+# get_filename_component(wolf_INCLUDE_DIRS ${wolf_INCLUDE_DIRS} DIRECTORY)
 MESSAGE("Found wolf include dirs: ${wolf_INCLUDE_DIRS}")
 
 FIND_LIBRARY(
-- 
GitLab