make install wlc as part of the build

This commit is contained in:
Mikkel Oscar Lyderik 2015-09-04 21:08:44 +02:00
parent cf1176c728
commit 7ad157ebe2
1 changed files with 2 additions and 3 deletions

View File

@ -7,11 +7,10 @@ git submodule update --init --recursive # - initialize and fetch submodules
mkdir target && cd target # - create build target directory
cmake -DCMAKE_BUILD_TYPE=Upstream .. # - run CMake
make # - compile
sudo make install # - install
cd ../..
# build sway
cmake \
-DWLC_LIBRARIES=wlc/target/src/libwlc.so \
-DWLC_INCLUDE_DIRS=wlc/include .
cmake .
make