Update cmake_minimum_requrired to 3.13
envgap__gabime__spdlog-1945
01 / FAILURE SIGNATURE
As reported upstream
No identifying execution failure has been captured.
Not a benchmark task.
- The project already builds and runs before the fix, so there is nothing to repair.
02 / ENVIRONMENT RECIPE
- Base commit
87133ef6b7e36913abfaaddf89af309f5f142650- Manifest
CMakeLists.txt- Reproduce
Awaiting issue-specific recipe- Run under trace
Awaiting a meaningful runtime command
03 / ORIGINAL ISSUE TEXT
gabime/spdlog #1945 · read the original issue
I am using spdlog as CMake subdirectory (through ```add_subdirectory```), and am unable to set configuration options (such as ```SPDLOG_FMT_EXTERNAL```) in my parent CMakeLists.txt file. This is because ```cmake_minimum_required(VERSION 3.10)``` unsets CMake policy ```CMP0077```. ```CMP0077``` unsets normal variables (i.e. a parent-project required setting for ```SPDLOG_FMT_EXTERNAL``` etc), and forces the default option. I can not force the policy to be set as the current ```cmake_minimum_required(VERSION 3.10)``` overrides my own policy / version settings. The new (more intuitive) behaviour was introduced in cmake 3.13: https://cmake.org/cmake/help/latest/policy/CMP0077.html#policy:CMP0077
04 / LABELS
Labels from the report text only; not yet run
No supported category has been assigned.
Label rules and the text that matched
[]