Skip to content

Fix CMake warning CMAKE_MINIMUM_REQUIRED #357

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

Konikz
Copy link

@Konikz Konikz commented Apr 26, 2025

Fix CMake warning about minimum_required declaration order

Issue

This PR fixes issue #341 where a CMake warning is triggered due to improper ordering of CMake commands.

Changes

  • Moved CMAKE_MINIMUM_REQUIRED(VERSION 3.11) before the project(VolEsti) declaration in test/CMakeLists.txt
  • No functional changes, only fixing the warning

Details

CMake best practices require that the minimum required version be declared before the project definition. This ensures proper policy settings and behavior consistency. This PR makes the minimal necessary change to fix the warning while maintaining project conventions.

Closes #341

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.

Missing cmake_minimum_required() Declaration Before Project Definition
1 participant