Unknown CMake command "ExternalProject_Add" - Stack Overflow
# Add the directory containing DownloadProject.cmake to the module path list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake") # Include the specific module include(DownloadProject) Use code with caution. unknown cmake command download_project
The "Unknown CMake command 'download_project'" error typically occurs when a project attempts to use a custom helper function named download_project without including the necessary module file that defines it. Unlike standard commands like add_executable , download_project is not built into CMake; it is a popular third-party script used for managing external dependencies. Causes of the "Unknown CMake Command" Error download_project is not built into CMake