Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cmake: Unable to install Linux libraries into Multiarch directories (Patch) #1068

Closed
apoleon opened this issue Oct 23, 2016 · 1 comment
Closed
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.

Comments

@apoleon
Copy link

apoleon commented Oct 23, 2016

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

@apoleon
Copy link
Author

apoleon commented Oct 23, 2016

Oh, there is already a pull request.

#1067

Closing again. Sorry for the noise.

@apoleon apoleon closed this as completed Oct 23, 2016
@Vezzra Vezzra added category:bug The Issue/PR describes or solves a perceived malfunction within the game. status:duplicate The topic of the Issue/PR is or was already covered by another Issue/PR. component:build system The Issue/PR deals with CMake, Visual Studio or the general build process. labels Oct 29, 2016
@Vezzra Vezzra added this to the Gateway to the Void milestone Oct 29, 2016
@Vezzra Vezzra changed the title [Bug] Cmake: Unable to install Linux libraries into Multiarch directories (Patch) Cmake: Unable to install Linux libraries into Multiarch directories (Patch) Oct 29, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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.
Projects
None yet
Development

No branches or pull requests

2 participants