From 64b632aa23342572eb2fd05a7e1f4d9a04a67126 Mon Sep 17 00:00:00 2001 From: Jean-Paul Chaput Date: Tue, 15 Feb 2011 13:16:35 +0000 Subject: [PATCH] * /CMakeLists.txt: - Change: For the setup_sysconfdir() boostrap/cmake macro uses the CMAKE_INSTALL_PREFIX to guess where we are being installed. Should be more reliable than any *_TOP environment variable. --- stratus1/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stratus1/CMakeLists.txt b/stratus1/CMakeLists.txt index a1baa089..8dd4130b 100644 --- a/stratus1/CMakeLists.txt +++ b/stratus1/CMakeLists.txt @@ -14,7 +14,7 @@ # The flaw is in UseLATEX.cmake. cmake_policy(SET CMP0002 OLD) set_lib_link_mode() - setup_sysconfdir("$ENV{CORIOLIS_TOP}") + setup_sysconfdir("${CMAKE_INSTALL_PREFIX}") find_package(PythonLibs REQUIRED) find_package(PythonSitePackages REQUIRED)