From 628057f7bbc0610b0cf23f4e3a605e181727c0f2 Mon Sep 17 00:00:00 2001 From: Jean-Paul Chaput Date: Tue, 15 Feb 2011 12:50:54 +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. --- unicorn/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/unicorn/CMakeLists.txt b/unicorn/CMakeLists.txt index c7ef4280..1d0c3989 100644 --- a/unicorn/CMakeLists.txt +++ b/unicorn/CMakeLists.txt @@ -10,7 +10,7 @@ set_cmake_policies() 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)