Hopefully a simple question- I am trying to port a CMake project (arcan https://github.com/letoram/arcan/tree/master) that uses Freetype and looks for it using find_package(Freetype REQUIRED QUIET). I've added 'freetype' to 'used_apis' but that did not seem to make it happy. Worth noting, I am doing this in a separate directory from my Genode git clone, I assume that is not a problem? This article https://genodians.org/jschlatow/2024-01-11-lomiri-calculator-porting seems to suggest that there is a way to add a CMake file that satisfies it. I found this file https://github.com/Manabu-GT/sdl_core/blob/aed19cd68e02b11e27275c05e00cf242a337553a/cmake/Modules/FindQt5Core.cmake#L4 on github, but I don't understand what it's doing and it's not the same one referenced in the article.
Additionally, the arcan cmake https://github.com/letoram/arcan/blob/master/src/CMakeLists.txt calls for find_package(Threads REQUIRED) and fails here too. I see that PThreads seem to be supported in the libc port, and foundations 8.13.1 gives a genode native way of starting threads. I assume the method for this is similar to the one for Freetype?