search content of files using grep and find

On solaris boxes I need to use this command to search through the content of files recursively through all directories:

find . -exec grep -l "text to find" '{}' \;

on linux this works

grep -r "text to find" '{}' \;