This change removes the requirement for a C++ compiler to be present for CMAKE. This is sometimes the situation on certain Linux distributions and removes a stumbling block for novice builders.
The top-level CMakeLists.txt file for a project must contain a literal, direct call to the project() command; loading one through the include() command is not sufficient. If no such call exists, CMake will issue a warning and pretend there is a project(Project) at the top to enable the default languages (C and CXX).
Note: Call the project() command near the top of the top-level CMakeLists.txt, but after calling cmake_minimum_required(). It is important to establish version and policy settings before invoking other commands whose behavior they may affect. See also policy CMP0000.
ParseBinaryDir.cmake:
Move requirement for languages to CMakeLists.txt's project() statement. Remove requirement for C++.
This change removes the requirement for a C++ compiler to be present for CMAKE. This is sometimes the situation on certain Linux distributions and removes a stumbling block for novice builders.
CMakeLists.txt:
From: https://cmake.org/cmake/help/latest/command/project.html
ParseBinaryDir.cmake:
Move requirement for languages to
CMakeLists.txt
'sproject()
statement. Remove requirement for C++.