From 1878d575adfb8b334e89fc933179ddf7590a4b71 Mon Sep 17 00:00:00 2001
From: Francois Bleibel <fbleibel@gmail.com>
Date: Fri, 3 Sep 2010 10:58:59 +0900
Subject: [PATCH] Removed CMAKE_INSTALL_PREFIX in INSTALL directive.

---
 include/CMakeLists.txt | 2 +-
 src/CMakeLists.txt     | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/CMakeLists.txt b/include/CMakeLists.txt
index 30b72f0..b683713 100644
--- a/include/CMakeLists.txt
+++ b/include/CMakeLists.txt
@@ -34,6 +34,6 @@ ENDFOREACH(lHeader)
 # Install procedure for the header files
 #----------------------------------------------------
 INSTALL(FILES ${fullpath_${PROJECT_NAME}_HEADERS}
-	DESTINATION ${CMAKE_INSTALL_PREFIX}/include/${PROJECT_NAME}
+	DESTINATION include/${PROJECT_NAME}
         PERMISSIONS OWNER_READ GROUP_READ WORLD_READ OWNER_WRITE
 )
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 3dfadf7..4063da9 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -107,7 +107,7 @@ FOREACH(lib ${libs})
 	ENDIF(${lib}_plugins_dependencies)
 	
 	INSTALL(TARGETS ${lib}
-  	DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/plugin)
+  	DESTINATION lib/plugin)
 ENDFOREACH(lib)
 
   
-- 
GitLab