Cmake Error on Ubuntu

Hello everyone!
I’ve been following this project for a while now. I like the idea of an open source alternative to rm2k and rm2k3 editors, and the player is awesome of course. So i thought I could take a look at the code for the editor, and maybe contribute if possible (I’m an almost-graduated CS student, so I know c/c++). The problem is that I can’t get cmake to work for the editor.
I successfully managed to compile and execute the player, but that’s not the case with the editor.
I’m running Ubuntu 20.04, and I should have all the needed dependencies, but when I try to use cmake . to create the makefile from bash I get this error :

CMake Error at CMakeLists.txt:337 (add_executable):
Target "EasyRPG_Editor" links to target "EXPAT::EXPAT" but the target was
not found.  Perhaps a find_package() call is missing for an IMPORTED
target, or an ALIAS target is missing?

I’ve tried to fix this on my own, but I’m not very familiar with cmake.
Can someone help me?

Are you building internal liblcf?
You need to install libexpat1-dev, however, if Player builds fine, this should not be an issue.