From 98f3022bba1536c911c58c46169ab82077a584f9 Mon Sep 17 00:00:00 2001 From: Jean-Paul Chaput Date: Tue, 15 Feb 2011 12:49:57 +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. --- crlcore/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crlcore/CMakeLists.txt b/crlcore/CMakeLists.txt index f432b7f4..22859135 100644 --- a/crlcore/CMakeLists.txt +++ b/crlcore/CMakeLists.txt @@ -15,7 +15,7 @@ set_cmake_policies() check_distribution() set_lib_link_mode() - setup_sysconfdir("$ENV{CORIOLIS_TOP}") + setup_sysconfdir("${CMAKE_INSTALL_PREFIX}") setup_boost(program_options filesystem python regex) find_package(LibXml2 REQUIRED)