How can I decide what to put in my CMakeList.txt’s cmake_minimum_required call?
The cmake_minimum_required() function is used to avoid any cryptic error messages due to the CMakeLists.txt assuming a later version of CMake than the one installed on the current host. As an example, failing early, and with a clear message… CMake 3.2 or higher is required. You are running version 2.8.12.2 …is to be preferred over … Read more