From c41c90cd695ed01e06a3e52eedacb99acdd6bb9b Mon Sep 17 00:00:00 2001
From: Jeremie Deray <jeremie.deray@pal-robotics.com>
Date: Wed, 10 Aug 2016 18:17:02 +0200
Subject: [PATCH] One shouldnt install directly in the CMAKE_ROOT/Modules
 folder has those module files are supposed to be thoroughly verified/tested.

---
 src/CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 00eb48277..8787fb82f 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -395,7 +395,7 @@ INSTALL(FILES ${HDRS_WRAPPER}
 INSTALL(FILES ${HDRS_SOLVER}
     DESTINATION include/iri-algorithms/wolf/solver)
 
-INSTALL(FILES ../Findwolf.cmake DESTINATION ${CMAKE_ROOT}/Modules/)
+INSTALL(FILES ../cmake_modules/Findwolf.cmake DESTINATION "lib/cmake/${PROJECT_NAME}")
 
 #Build examples & tests
 MESSAGE("Building examples and tests.")
-- 
GitLab