The problem I'm having is that I already wrote my CMake files and didn't have any issues with Windows, but now with Linux I have to link all of these libraries separately. I've looked through the SFML CMake files and I can't find where the variables are actually defined. There is, for instance, the "OPENGL_INCLUDE_DIR" but I cannot find where that is defined. I actually wrote a python script to search for that in all .txt files under the main SFML directory(and subdirectories) and was unable to find it. Any recommendations?