Cmake: Unable to install Linux libraries into Multiarch directories (Patch) #1068
Labels
category:bug
The Issue/PR describes or solves a perceived malfunction within the game.
component:build system
The Issue/PR deals with CMake, Visual Studio or the general build process.
status:duplicate
The topic of the Issue/PR is or was already covered by another Issue/PR.
Milestone
Hi,
on Debian systems libraries are usually installed into Multiarch directories like
/usr/lib/x86_64-linux-gnu/freeorion
instead of just /usr/lib/freeorion
Currently there is a bug in CMakeLists.txt that prevents the installation into such directories due to wrong odering of include(GNUInstallDirs) which should come after project(FreeOrion).
The following patch fixes it.
https://gist.github.com/apoleon/6345b3aa48f21ea42e64d59273e332ec
The text was updated successfully, but these errors were encountered: