fix(build): No need to specify default build type

This commit is contained in:
Michael Carlberg 2016-05-20 04:35:09 +02:00
parent d548312f54
commit b8dec03083
2 changed files with 2 additions and 2 deletions

View File

@ -70,7 +70,7 @@ NOTE: **git-perl** is required for submodules to work in **Void Linux**
$ git clone --branch 0.1.0 --recursive https://github.com/jaagr/lemonbuddy.git
$ mkdir lemonbuddy/build
$ cd lemonbuddy/build
$ cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr ..
$ cmake ..
# List and edit build variables
$ make edit_cache
$ sudo make install

View File

@ -19,7 +19,7 @@ function main
mkdir ./build || msg_err "Failed to create build dir"
cd ./build || msg_err "Failed to enter build dir"
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr .. || \
cmake -DCMAKE_INSTALL_PREFIX=/usr .. || \
msg_err "Failed to generate build... read output to get a hint of what went wrong"
make || msg_err "Failed to build project"