* <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:
parent
aa92e0b4f7
commit
64b632aa23
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue