Skip to content

CMakeLists.txt in alamode 1.5.0 #266

@nim-hrkn

Description

@nim-hrkn

This is simply an environment-dependent issue.

I use Ubuntu24.04. conda-forge now installs CMake version 4.0.1. CMake 4 requires cmake_minimum_required version 3.5 or higher.

Below is the modification made to ./CMakeLists.txt:

diff --git a/CMakeLists.txt b/CMakeLists.txt
index b2d005f..eaea633 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,4 +1,4 @@
-cmake_minimum_required(VERSION 3.1)
+cmake_minimum_required(VERSION 3.5)

After modifying ./CMakeLists.txt, it worked properly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions