Fix MyGUI issues in CMakeLists.txt