* <All Tools>/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.
This commit is contained in:
Jean-Paul Chaput 2011-02-15 13:16:35 +00:00
parent aa92e0b4f7
commit 64b632aa23
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@
# The flaw is in UseLATEX.cmake. # The flaw is in UseLATEX.cmake.
cmake_policy(SET CMP0002 OLD) cmake_policy(SET CMP0002 OLD)
set_lib_link_mode() set_lib_link_mode()
setup_sysconfdir("$ENV{CORIOLIS_TOP}") setup_sysconfdir("${CMAKE_INSTALL_PREFIX}")
find_package(PythonLibs REQUIRED) find_package(PythonLibs REQUIRED)
find_package(PythonSitePackages REQUIRED) find_package(PythonSitePackages REQUIRED)