fix(build): No need to specify default build type
This commit is contained in:
parent
d548312f54
commit
b8dec03083
@ -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
|
$ git clone --branch 0.1.0 --recursive https://github.com/jaagr/lemonbuddy.git
|
||||||
$ mkdir lemonbuddy/build
|
$ mkdir lemonbuddy/build
|
||||||
$ cd lemonbuddy/build
|
$ cd lemonbuddy/build
|
||||||
$ cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr ..
|
$ cmake ..
|
||||||
# List and edit build variables
|
# List and edit build variables
|
||||||
$ make edit_cache
|
$ make edit_cache
|
||||||
$ sudo make install
|
$ sudo make install
|
||||||
|
2
build.sh
2
build.sh
@ -19,7 +19,7 @@ function main
|
|||||||
mkdir ./build || msg_err "Failed to create build dir"
|
mkdir ./build || msg_err "Failed to create build dir"
|
||||||
cd ./build || msg_err "Failed to enter 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"
|
msg_err "Failed to generate build... read output to get a hint of what went wrong"
|
||||||
|
|
||||||
make || msg_err "Failed to build project"
|
make || msg_err "Failed to build project"
|
||||||
|
Loading…
Reference in New Issue
Block a user