mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 01:37:00 +00:00
[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>
This commit is contained in:
parent
86210e27d1
commit
10598c0743
3 changed files with 30 additions and 17 deletions
|
|
@ -1,4 +1,4 @@
|
|||
#ifndef __REVISION_NR_H__
|
||||
#define __REVISION_NR_H__
|
||||
#define REVISION_NR "12539"
|
||||
#define REVISION_NR "12540"
|
||||
#endif // __REVISION_NR_H__
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue