mirror of
https://github.com/KDE/latte-dock.git
synced 2024-12-22 09:33:54 +03:00
we can pass a build type to install.sh
This commit is contained in:
parent
d5f3553ffc
commit
dbc2905077
@ -4,11 +4,14 @@
|
||||
#This script was written and tested on openSuSe Leap 42.1
|
||||
set -e
|
||||
|
||||
build_type=$1
|
||||
build_type=${build_type:="Release"}
|
||||
|
||||
if ! [ -a build ] ; then
|
||||
mkdir build
|
||||
fi
|
||||
|
||||
cd build
|
||||
cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=RELEASE ..
|
||||
cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=$build_type ..
|
||||
make
|
||||
sudo make install
|
||||
|
Loading…
Reference in New Issue
Block a user