Skip to content

Commit

Permalink
Add -DSKIA_LIBRARY flag for laf library in compilation instructions
Browse files Browse the repository at this point in the history
The SKIA_LIBRARY is filled automatically using find_library() and
SKIA_LIBRARY_DIR, but it looks like somethings it doesn't work and
it's better to just specify the SKIA_LIBRARY directly.
  • Loading branch information
dacap committed Aug 17, 2020
1 parent f3e9978 commit 88f9fbe
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion INSTALL.md
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ And then
cd aseprite
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo -DLAF_BACKEND=skia -DSKIA_DIR=C:\deps\skia -DSKIA_LIBRARY_DIR=C:\deps\skia\out\Release-x64 -G Ninja ..
cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo -DLAF_BACKEND=skia -DSKIA_DIR=C:\deps\skia -DSKIA_LIBRARY_DIR=C:\deps\skia\out\Release-x64 -DSKIA_LIBRARY=C:\deps\skia\out\Release-x64\skia.lib -G Ninja ..
ninja aseprite

In this case, `C:\deps\skia` is the directory where Skia was compiled
Expand Down Expand Up @@ -163,6 +163,7 @@ Run `cmake` with the following parameters and then `ninja`:
-DLAF_BACKEND=skia \
-DSKIA_DIR=$HOME/deps/skia \
-DSKIA_LIBRARY_DIR=$HOME/deps/skia/out/Release-x64 \
-DSKIA_LIBRARY=$HOME/deps/skia/out/Release-x64/libskia.a \
-G Ninja \
..
ninja aseprite
Expand Down Expand Up @@ -191,6 +192,7 @@ Run `cmake` with the following parameters and then `ninja`:
-DLAF_BACKEND=skia \
-DSKIA_DIR=$HOME/deps/skia \
-DSKIA_LIBRARY_DIR=$HOME/deps/skia/out/Release-x64 \
-DSKIA_LIBRARY=$HOME/deps/skia/out/Release-x64/libskia.a \
-G Ninja \
..
ninja aseprite
Expand Down

0 comments on commit 88f9fbe

Please sign in to comment.