Skip to content

cmake: Set minimum required version to 3.5 for CMake 4+ compatibility#95

Merged
epsilonrt merged 1 commit intoepsilonrt:masterfrom
alperak:master
Jul 7, 2025
Merged

cmake: Set minimum required version to 3.5 for CMake 4+ compatibility#95
epsilonrt merged 1 commit intoepsilonrt:masterfrom
alperak:master

Conversation

@alperak
Copy link
Copy Markdown
Contributor

@alperak alperak commented Jul 7, 2025

Fix:

| CMake Error at CMakeLists.txt:3 (cmake_minimum_required):
| Compatibility with CMake < 3.5 has been removed from CMake.
|
| Update the VERSION argument value. Or, use the ... syntax
| to tell CMake that the project requires at least but has been updated
| to work with policies introduced by or earlier.
|
| Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway.
|
|
| -- Configuring incomplete, errors occurred!

Fix:

| CMake Error at CMakeLists.txt:3 (cmake_minimum_required):
|   Compatibility with CMake < 3.5 has been removed from 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.
|
|   Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway.
|
|
| -- Configuring incomplete, errors occurred!

Signed-off-by: Alper Ak <alperyasinak1@gmail.com>
@epsilonrt epsilonrt merged commit 0c5e274 into epsilonrt:master Jul 7, 2025
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.

2 participants