-
Notifications
You must be signed in to change notification settings - Fork 60
CMakeLists.txt in alamode 1.5.0 #266
Copy link
Copy link
Open
Description
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.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels