PDA

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


newsbot
03.03.2013, 03:51
Автор: DasBlub


<pre>m .travis.yml
m CMakeLists.txt
m src/shared/revision_nr.h
</pre>
<pre style='white-space:pre-wrap;width:81ex'>[12391] 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.</pre>


Подробнее... (https://github.com/cmangos/mangos-wotlk/commit/d489531fa028b5da09879fe738cf33ebe10d5d50)