Update CMakeLists.txt

fixed X11 linking error