Newer
Older
Import / applications / MakePDF / 3rdParty / libharu-with-PRs / pr-patches / 0001-revert-patch-from-Guy-that-required-an-explicit-inst.patch
From e31993c4b53007f60fe56b26bf6c24857b1cb2b1 Mon Sep 17 00:00:00 2001
From: Koen Deforche <koen@emweb.be>
Date: Thu, 28 Feb 2013 15:30:54 +0100
Subject: [PATCH] revert patch from Guy that required an explicit installation
 directory for include files

---
 CMakeLists.txt | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index fe3d4fb..40b6ddf 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -169,16 +169,17 @@ set(
 )
 
 # install header files
-install(FILES ${haru_HDRS} DESTINATION ${CMAKE_INSTALL_INCLUDEDIR})
+install(FILES ${haru_HDRS} DESTINATION include)
 
 # install various files
-install(FILES README CHANGES INSTALL DESTINATION ${CMAKE_INSTALL_INCLUDEDIR})
+install(FILES README CHANGES INSTALL DESTINATION .)
 if(NOT DEVPAK)
-  install(DIRECTORY if DESTINATION ${CMAKE_INSTALL_INCLUDEDIR})
+  install(DIRECTORY if DESTINATION .)
 endif(NOT DEVPAK)
 if(DEVPAK)
   install(FILES ${CMAKE_BINARY_DIR}/libharu.DevPackage DESTINATION .)
 endif(DEVPAK)
+
 # =======================================================================
 # print out some information
 # =======================================================================
-- 
2.21.1 (Apple Git-122.3)