Skip to content

Commit 8a2a83d

Browse files
Switch to cmake 3.13
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 P.S. Also you can install to non-system folder, see example https://askubuntu.com/a/1543849/1087530 Actually you can still try using old cmake 3.8, but the instruction is adapted for 3.13
1 parent e01c65e commit 8a2a83d

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
########################################################################
2222
# Project setup
2323
########################################################################
24-
cmake_minimum_required(VERSION 3.13)
24+
cmake_minimum_required(VERSION 3.8)
2525
project(gr-satellites CXX C)
2626
enable_testing()
2727

docs/source/installation.rst

+1-3
Original file line numberDiff line numberDiff line change
@@ -95,11 +95,9 @@ inside the directory containing the gr-satellites sources:
9595

9696
.. code-block:: console
9797
98-
$ git clone https://github.com/daniestevez/gr-satellites
99-
$ cd gr-satellites/
10098
$ cmake -S . -B build
10199
$ cmake --build build --parallel
102-
$ cmake --install build
100+
$ sudo cmake --install build
103101
$ sudo ldconfig
104102
105103
After running ``make``, you can run the tests by doing ``make test`` in the

0 commit comments

Comments
 (0)