prevent Unknown CMake command "check_function_exists". (#761)

* prevent Unknown CMake command "check_function_exists".
1 file changed