On dinosaur distributions like Linux Mint, the version of the SFML library in the repositories (libsfml-dev) is version 2.4, so CMake fails to find it as the CMake modules were changed from version 2.4 to 2.5.
We should add a more intelligent check, and in case CMake can't find the SFML CMake module to link the libraries, load the SFML headers from a folder in the project's root directory, exactly like it is done in the case of Windows (but with the correct distribution of SFML).
On dinosaur distributions like Linux Mint, the version of the SFML library in the repositories (libsfml-dev) is version 2.4, so CMake fails to find it as the CMake modules were changed from version 2.4 to 2.5.
We should add a more intelligent check, and in case CMake can't find the SFML CMake module to link the libraries, load the SFML headers from a folder in the project's root directory, exactly like it is done in the case of Windows (but with the correct distribution of SFML).