From 2d8e963d2a059dd1c0fc50fa5d51ebea955bc8e6 Mon Sep 17 00:00:00 2001 From: Jean-Paul Chaput Date: Wed, 2 Feb 2011 11:42:51 +0000 Subject: [PATCH] * /CMakeLists.txt: - Bug: During the packaging stage, DESTDIR must be appended to the pathes prepended to CMAKE_MODULE_PATH. --- metis/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/metis/CMakeLists.txt b/metis/CMakeLists.txt index 5487ebde..d0fe7d29 100644 --- a/metis/CMakeLists.txt +++ b/metis/CMakeLists.txt @@ -3,7 +3,7 @@ cmake_minimum_required(VERSION 2.4.0) - list(INSERT CMAKE_MODULE_PATH 0 "$ENV{BOOTSTRAP_TOP}/share/cmake/Modules/") + list(INSERT CMAKE_MODULE_PATH 0 "${DESTDIR}/$ENV{BOOTSTRAP_TOP}/share/cmake/Modules/") find_package(Bootstrap REQUIRED) setup_project_paths(VLSISAPD) setup_project_paths(CORIOLIS)