Skip to content

raise cmake minimum version and use test subdirectory#62

Closed
qaqland wants to merge 2 commits into
uael:masterfrom
qaqland:cmake-version
Closed

raise cmake minimum version and use test subdirectory#62
qaqland wants to merge 2 commits into
uael:masterfrom
qaqland:cmake-version

Conversation

@qaqland

@qaqland qaqland commented Apr 9, 2026

Copy link
Copy Markdown
Contributor

It already uses the block() command, which was added in CMake 3.25. Ref: https://cmake.org/cmake/help/latest/command/block.html

CMake Warning (dev) at CMakeLists.txt:3 (project):
  cmake_minimum_required() should be called prior to this top-level project()
  call.  Please see the cmake-commands(7) manual for usage documentation of
  both commands.
This warning is for project developers.  Use -Wno-dev to suppress it.

-- The C compiler identification is GNU 15.2.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
CMake Deprecation Warning at CMakeLists.txt:4 (cmake_minimum_required):
  Compatibility with CMake < 3.10 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value.  Or, use the <min>...<max> syntax
  to tell CMake that the project requires at least <min> but has been updated
  to work with policies introduced by <max> or earlier.

It already uses the block() command, which was added in CMake 3.25.
Ref: https://cmake.org/cmake/help/latest/command/block.html
@qaqland qaqland marked this pull request as draft April 9, 2026 08:09
Signed-off-by: qaqland <anguoli@uniontech.com>
@qaqland

qaqland commented Apr 15, 2026

Copy link
Copy Markdown
Contributor Author

have no clue about the Windows error

@qaqland qaqland closed this Apr 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant