Commit 7e17981c authored by Gautier Pelloux-Prayer's avatar Gautier Pelloux-Prayer
Browse files

Makefile: by default, build-desktop install prefix is build directory instead of /usr/local/

parent 5bf7709d
......@@ -36,7 +36,10 @@ all: build-desktop
build-desktop:
mkdir -p WORK/cmake-desktop && \
cd WORK/cmake-desktop && \
cmake ../.. $(filter -D%,$(MAKEFLAGS)) && \
cmake ../.. \
-DCMAKE_PREFIX_PATH=$(PWD)/OUTPUT\
-DCMAKE_INSTALL_PREFIX=$(PWD)/OUTPUT \
$(filter -D%,$(MAKEFLAGS)) && \
make
clean-desktop:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment