Thank you :)
As the game is open-source, you can check the code for yourself exactly how it's done, but in short, I used cmrc together with CMake, but there are other alternatives, like incbin. You can for example check the resources.cmake file for how the files are embedded, and also the various files in the src/asset folder for how the actual files are loaded in the game itself.