PDA

Просмотр полной версии : [c12540] Remove the PREFIX parameter from the CMake files and use the standard CMAKE_INSTALL_PREFIX


newsbot
03.03.2013, 22:11
Автор: DasBlub


<pre>m .travis.yml
m CMakeLists.txt
m src/shared/revision_nr.h
</pre>
<pre style='white-space:pre-wrap;width:81ex'>[c12540] Remove the PREFIX parameter from the CMake files and use the standard CMAKE_INSTALL_PREFIX parameter instead

This also fixes the behaviour with relative paths, until now, it
calculated the absolute path from the location of the top level
CMakeLists.txt instead of your current directory where you called cmake.

You need to re-run CMake and define CMAKE_INSTALL_PREFIX and remove
PREFIX! You can do so by either removing all files in your build directory
and start from scratch or run 'cmake -DPREFIX= -DCMAKE_INSTALL_PREFIX=<install_path> <path_to_source>'.
A check has been added to the CMake file to make sure that PREFIX is no
longer used.

(based on commit [12391] - d489531)

Signed-off-by: DasBlub <DasBlub@gmail.com></pre>


Подробнее... (https://github.com/cmangos/mangos-cata/commit/523e29111638219f02550933a659c22ae8e5aa4b)