Actions
Emulator Issues #6682
closedLinux compile: cmake -D CMAKE_INSTALL_PREFIX=/new/path incorrectly applied
Status:
Fixed
Priority:
Normal
Assignee:
-
% Done:
0%
Operating system:
N/A
Issue type:
Bug
Milestone:
Regression:
No
Relates to usability:
No
Relates to performance:
No
Easy:
No
Relates to maintainability:
No
Regression start:
Fixed in:
Description
Building for Linux using a custom installation path fails since a couple of installed files do not obey the set path correctly. The cmake call looks like this:
cmake -D CMAKE_INSTALL_PREFIX=~/progs/testing ..
Thus installation should be done into /home/username/progs/testing instead of /usr . The following actually happens:
- /home/username/progs/testing/usr/share/dolphin-emu/* (should be /home/username/progs/testing/share/dolphin-emu/*)
- /home/username/progs/testing/share/pixmaps/dolphin-emu.xpm (this is correct)
- /home/username/progs/testing/share/applications/dolphin-emu.desktop (this is correct)
- /home/username/progs/testing/lib/libpolarssl.a (this is correct)
- /home/username/progs/testing/share/locale/* (this is correct)
- /home/username/progs/testing/usr/bin/dolphin-emu (should be /home/username/progs/testing/bin/dolphin-emu)
Hence the "usr/share/dolphin-emu" and "usr/bin/dolphin-emu" installs into the wrong location. To make worse things worse if you try to move the installed files to the correct location dolphin fails to start because it expects to find the files in the wrong locations.
Actions