Fixed Linux install / package support in CMakeLists. Fixed Linux start script.

This commit is contained in:
Andrew Okin
2013-02-12 12:49:13 -06:00
parent 397c0cb555
commit 4c5d19a62a
2 changed files with 19 additions and 8 deletions

View File

@ -1,8 +1,9 @@
#!/bin/sh
# Basic start script for running MultiMC with the libs packaged with it.
MMC_DIR = $(dirname "$0")
MMC_DIR=$(dirname "$0")
cd "${MMC_DIR}"
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:"./lib"
export QT_PLUGIN_PATH=$QT_PLUGIN_PATH:"."
exec ./bin/MultiMC