stop to use make because since CMake 3.15 (Ubuntu 20.04), Generator can be set in env
CMAKE_GENERATOR and sometimes it is not the Unix Makefiles;
Tested in Ubuntu 24
Signed-off-by: Cherniaev Andrei <dungeonlords789(a)naver.com>
---
CMakeLists.txt | 2 +-
README.md | 8 +++-----
2 files changed, 4 insertions(+), 6 deletions(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 3a6b0da..ad8c42f 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -20,7 +20,7 @@
########################################################################
# Project setup
########################################################################
-cmake_minimum_required(VERSION 3.8)
+cmake_minimum_required(VERSION 3.13)
project(gr-osmosdr CXX C)
include(GNUInstallDirs)
enable_testing()
diff --git a/README.md b/README.md
index 338b5b8..380b284 100644
--- a/README.md
+++ b/README.md
@@ -48,11 +48,9 @@ Building with cmake:
```
git clone
https://gitea.osmocom.org/sdr/gr-osmosdr
cd gr-osmosdr/
-mkdir build
-cd build/
-cmake ../
-make
-sudo make install
+cmake -S . -B build
+cmake --build build --parallel
+sudo cmake --install build
sudo ldconfig
```
--
2.43.0