Skip to content

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