Fix for ROOT-6700 (Splash screen not shown with CMake builds with cocoa)