ok this is what I did, go to /opt/ros/groovy/share/ros/core/rosbuild/public.cmake and comment out line 164 (with the # symbol) that say:
if(APPLE)