From 87d56783e81178e205a30e37612813cab6766a1d Mon Sep 17 00:00:00 2001 From: Jean-Paul Chaput Date: Sat, 22 May 2010 13:46:56 +0000 Subject: [PATCH] * ./hurricane: - Change: In FindHURRICANE.cmake, prepend ${DESTDIR} to the search pathes components (for use by packagers). --- hurricane/cmake_modules/FindHURRICANE.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hurricane/cmake_modules/FindHURRICANE.cmake b/hurricane/cmake_modules/FindHURRICANE.cmake index 3521a1f6..ea8fb81d 100644 --- a/hurricane/cmake_modules/FindHURRICANE.cmake +++ b/hurricane/cmake_modules/FindHURRICANE.cmake @@ -63,12 +63,12 @@ IF(UNIX) MACRO(SETUP_SEARCH_DIR project) IF( NOT("$ENV{${project}_TOP}" STREQUAL "") ) MESSAGE("-- ${project}_TOP is set to $ENV{${project}_TOP}") - LIST(INSERT ${project}_DIR_SEARCH 0 "$ENV{${project}_TOP}") + LIST(INSERT ${project}_DIR_SEARCH 0 "${DESTDIR}$ENV{${project}_TOP}") ENDIF( NOT("$ENV{${project}_TOP}" STREQUAL "") ) IF( NOT("$ENV{${project}_USER_TOP}" STREQUAL "") ) MESSAGE("-- ${project}_USER_TOP is set to $ENV{${project}_USER_TOP}") - LIST(INSERT ${project}_DIR_SEARCH 0 "$ENV{${project}_USER_TOP}") + LIST(INSERT ${project}_DIR_SEARCH 0 "${DESTDIR}$ENV{${project}_USER_TOP}") ENDIF( NOT("$ENV{${project}_USER_TOP}" STREQUAL "") ) LIST(REMOVE_DUPLICATES ${project}_DIR_SEARCH)