I just compiled SFML using cmake. And it only build static lib I think. I have attached the image of the build. Now when I try to compile hello world it says -
undefined reference to `sf::VideoMode::VideoMode
Prebuild SFML is also showing same error. Version 2.6.