how to get cmake to work sfml 3 cross platform
00:38 09 Nov 2025

I am trying to get sfml to link with cmake dynamically to my c++ project, and I would like to to work cross platform with Windows and Linux. my (AI generated) cmakelists is not worth sharing becuause the sfml docs for clion redirected me to a website about cmake and not how to link sfml specifically, and it doesn't work anyways.

I am on Linux, arch using wayland (I will be running through xwayland) I would also like to link dynamically.

Thanks in advance :D

c++ cmake sfml