From ee168957873a106bdd9c8760ae7983c574b33e06 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?mq=E7=99=BD?= <3326284481@qq.com> Date: Mon, 28 Oct 2024 04:02:07 +0800 Subject: [PATCH] Improve Cross-Platform Build Instructions in Documentation (#3229) * Update build * Simplified build command length for cross-platform compatibility. * Modified to replace `make -j` only with `cmake --build.` --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 2a2cbe42..f4619fd9 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ Copy the include [folder](https://github.com/gabime/spdlog/tree/v1.x/include/spd ```console $ git clone https://github.com/gabime/spdlog.git $ cd spdlog && mkdir build && cd build -$ cmake .. && make -j +$ cmake .. && cmake --build . ``` see example [CMakeLists.txt](https://github.com/gabime/spdlog/blob/v1.x/example/CMakeLists.txt) on how to use.