You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Doctest CMakeLists.txt contains the following line:
cmake_minimum_required(VERSION 3.0)
When doctest is used in another CMake project as test framework, the following CMake warning is shown:
CMake Deprecation Warning at build/_deps/doctest-src/CMakeLists.txt:1 (cmake_minimum_required):
Compatibility with CMake < 3.5 will be removed from a future version of
CMake.
Update the VERSION argument <min> value or use a ...<max> suffix to tell
CMake that the project does not need compatibility with older versions.
This warning can be removed by adapting the line using the solution below:
$ pip install cmake
$ cmake --version
cmake version 3.29.3
$ cmake -S . -B build
...
CMake Deprecation Warning at build/_deps/doctest-src/CMakeLists.txt:1 (cmake_minimum_required):
Compatibility with CMake < 3.5 will be removed from a future version of
CMake.
Update the VERSION argument <min> value or use a ...<max> suffix to tell
CMake that the project does not need compatibility with older versions.
...
Extra information
doctest version: v2.4.11
The text was updated successfully, but these errors were encountered:
Description
Doctest
CMakeLists.txt
contains the following line:When
doctest
is used in another CMake project as test framework, the following CMake warning is shown:This warning can be removed by adapting the line using the solution below:
AFFECTED FILES IN REPOSITORY:
CMakeLists.txt
examples/installed_doctest_cmake/executable/CMakeLists.txt
examples/installed_doctest_cmake/dll/CMakeLists.txt
scripts/how_stuff_works/CMakeLists.txt
Steps to reproduce
Extra information
The text was updated successfully, but these errors were encountered: