When compiling the code I received the error ``` CMake Error at CMakeLists.txt:39 (check_function_exists): Unknown CMake command "check_function_exists". ``` I added ``` include(CheckFunctionExists) ``` below the project name and this fixed the issue.