Ninja can't compile laf

I already posted it on the github page but I’m kinda desperate here cause i’m trying to compile this thing been a couple days so when I simply ninja it gives the following:

[101/131] Linking CXX executable gfx/packing_rects_tests
FAILED: gfx/packing_rects_tests 
: && /usr/bin/c++    -rdynamic gfx/CMakeFiles/packing_rects_tests.dir/packing_rects_tests.cpp.o  -o gfx/packing_rects_tests  third_party/googletest/googlemock/gtest/libgtest.a gfx/liblaf-gfx.a -pthread base/liblaf-base.a third_party/libmodpbase64.a -ldl /home/min/deps/skia/out/Release-x64/libskia.a -lGL -lfontconfig && :
/usr/bin/ld: /home/min/deps/skia/out/Release-x64/libskia.a(typeface_freetype.SkFontHost_FreeType.o): referência indefinida a símbolo "FT_Get_Postscript_Name"
//usr/lib/x86_64-linux-gnu/libfreetype.so.6: erro ao adicionar símbolos: DSO em falta da linha de comandos
collect2: error: ld returned 1 exit status
[102/131] Linking CXX executable gfx/clip_tests
FAILED: gfx/clip_tests 
: && /usr/bin/c++    -rdynamic gfx/CMakeFiles/clip_tests.dir/clip_tests.cpp.o  -o gfx/clip_tests  third_party/googletest/googlemock/gtest/libgtest.a gfx/liblaf-gfx.a -pthread base/liblaf-base.a third_party/libmodpbase64.a -ldl /home/min/deps/skia/out/Release-x64/libskia.a -lGL -lfontconfig && :
/usr/bin/ld: /home/min/deps/skia/out/Release-x64/libskia.a(typeface_freetype.SkFontHost_FreeType.o): referência indefinida a símbolo "FT_Get_Postscript_Name"
//usr/lib/x86_64-linux-gnu/libfreetype.so.6: erro ao adicionar símbolos: DSO em falta da linha de comandos
collect2: error: ld returned 1 exit status
[103/131] Linking CXX executable gfx/hsv_tests
FAILED: gfx/hsv_tests 
: && /usr/bin/c++    -rdynamic gfx/CMakeFiles/hsv_tests.dir/hsv_tests.cpp.o  -o gfx/hsv_tests  third_party/googletest/googlemock/gtest/libgtest.a gfx/liblaf-gfx.a -pthread base/liblaf-base.a third_party/libmodpbase64.a -ldl /home/min/deps/skia/out/Release-x64/libskia.a -lGL -lfontconfig && :
/usr/bin/ld: /home/min/deps/skia/out/Release-x64/libskia.a(typeface_freetype.SkFontHost_FreeType.o): referência indefinida a símbolo "FT_Get_Postscript_Name"
//usr/lib/x86_64-linux-gnu/libfreetype.so.6: erro ao adicionar símbolos: DSO em falta da linha de comandos
collect2: error: ld returned 1 exit status
[104/131] Linking CXX executable gfx/rgb_tests
FAILED: gfx/rgb_tests 
: && /usr/bin/c++    -rdynamic gfx/CMakeFiles/rgb_tests.dir/rgb_tests.cpp.o  -o gfx/rgb_tests  third_party/googletest/googlemock/gtest/libgtest.a gfx/liblaf-gfx.a -pthread base/liblaf-base.a third_party/libmodpbase64.a -ldl /home/min/deps/skia/out/Release-x64/libskia.a -lGL -lfontconfig && :
/usr/bin/ld: /home/min/deps/skia/out/Release-x64/libskia.a(typeface_freetype.SkFontHost_FreeType.o): referência indefinida a símbolo "FT_Get_Postscript_Name"
//usr/lib/x86_64-linux-gnu/libfreetype.so.6: erro ao adicionar símbolos: DSO em falta da linha de comandos
collect2: error: ld returned 1 exit status
[105/131] Linking CXX executable gfx/region_tests
FAILED: gfx/region_tests 
: && /usr/bin/c++    -rdynamic gfx/CMakeFiles/region_tests.dir/region_tests.cpp.o  -o gfx/region_tests  third_party/googletest/googlemock/gtest/libgtest.a gfx/liblaf-gfx.a -pthread base/liblaf-base.a third_party/libmodpbase64.a -ldl /home/min/deps/skia/out/Release-x64/libskia.a -lGL -lfontconfig && :
/usr/bin/ld: /home/min/deps/skia/out/Release-x64/libskia.a(typeface_freetype.SkFontHost_FreeType.o): referência indefinida a símbolo "FT_Get_Postscript_Name"
//usr/lib/x86_64-linux-gnu/libfreetype.so.6: erro ao adicionar símbolos: DSO em falta da linha de comandos
collect2: error: ld returned 1 exit status
[106/131] Linking CXX executable gfx/rect_tests
FAILED: gfx/rect_tests 
: && /usr/bin/c++    -rdynamic gfx/CMakeFiles/rect_tests.dir/rect_tests.cpp.o  -o gfx/rect_tests  third_party/googletest/googlemock/gtest/libgtest.a gfx/liblaf-gfx.a -pthread base/liblaf-base.a third_party/libmodpbase64.a -ldl /home/min/deps/skia/out/Release-x64/libskia.a -lGL -lfontconfig && :
/usr/bin/ld: /home/min/deps/skia/out/Release-x64/libskia.a(typeface_freetype.SkFontHost_FreeType.o): referência indefinida a símbolo "FT_Get_Postscript_Name"
//usr/lib/x86_64-linux-gnu/libfreetype.so.6: erro ao adicionar símbolos: DSO em falta da linha de comandos
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.

Aseprite and System version

  • Aseprite version: 1.2.17
  • System: KDE Neon 5.18

Do you have MinGW installed on your computer?