Skip to content

Fix CMake project declaration order (unit1)#1

Open
NikitaEdin wants to merge 2 commits into
asteyven:masterfrom
NikitaEdin:master
Open

Fix CMake project declaration order (unit1)#1
NikitaEdin wants to merge 2 commits into
asteyven:masterfrom
NikitaEdin:master

Conversation

@NikitaEdin

Copy link
Copy Markdown

Fix CMake warning: call cmake_minimum_required() before project()

Summary

Fixes CMake warning by reordering project() declaration after cmake_minimum_required() call.

Changes

  • Moved project(set10108-unit1) below cmake_minimum_required()
  • Resolves: "cmake_minimum_required() should be called prior to this top-level project() call"

Type of Change

  • Bug fix (fixes CMake configuration warning)

Note

This same warning exists in other units and should be fixed consistently across the project.

Screenshot 2025-09-18 124709

Moved the 'project' declaration below 'cmake_minimum_required' in labs/unit1/CMakeLists.txt for proper CMake convention.
Reordered the project() command to follow cmake_minimum_required in all CMakeLists.txt files for consistency and best practices.
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