Closed GoogleCodeExporter closed 9 years ago
Err sorry please move the game files into /usr/share/stuntrally
Original comment by neptu...@mail.ru
on 6 Apr 2011 at 7:55
CMake uses /usr/local as standard prefix.
To override this, use cmake -DCMAKE_PREFIX=/usr
Original comment by scrawl...@gmail.com
on 6 Apr 2011 at 8:00
Original comment by scrawl...@gmail.com
on 6 Apr 2011 at 8:05
Sorry, wrong line:
cmake -DCMAKE_INSTALL_PREFIX=/usr ..
Original comment by scrawl...@gmail.com
on 6 Apr 2011 at 8:05
/usr/local is pretty universal default prefix for stuff installed from sources.
Packages should change that to /usr as is done in e.g. debian/ubuntu packages
(in the way scrawl123 described).
As for the games part in the path, if that is wrong on OpenSUSE, an OpenSUSE
specific patch should be included in the package.
Original comment by tapiovie...@gmail.com
on 6 Apr 2011 at 8:21
How to override the /games part?
Original comment by neptu...@mail.ru
on 6 Apr 2011 at 8:25
So you want it to be installed in $PREFIX/share instead of $PREFIX/share/games ?
Just set the variable SHARE_INSTALL (which is checked in ./CMakeLists.txt) to
"share/stuntrally"
e.g. cmake -DSHARE_INSTALL=share/stuntrally
Original comment by scrawl...@gmail.com
on 6 Apr 2011 at 8:32
Also remember to set a specific CMake build type (i guess Release will be the
correct one for you)
-DCMAKE_BUILD_TYPE=Release
Original comment by scrawl...@gmail.com
on 6 Apr 2011 at 8:34
thanks. Let's see what happens
Original comment by neptu...@mail.ru
on 6 Apr 2011 at 8:36
Original issue reported on code.google.com by
neptu...@mail.ru
on 6 Apr 2011 at 7:51