diff options
| author | garder500 <jeremy27.clara22@gmail.com> | 2025-05-01 17:40:03 +0200 |
|---|---|---|
| committer | garder500 <jeremy27.clara22@gmail.com> | 2025-05-01 17:40:03 +0200 |
| commit | fe156854748a767aafc773748e1c4ecc9a701484 (patch) | |
| tree | eb23a62a8f73993a629331e2f71c3d3ca66779d1 | |
| parent | 43e9b83e1f812300fa5d0d7d4e38ec175652ea9c (diff) | |
Réduction du nombre de threads lors de la compilation C++ à 2 et suppression de la dépendance Gettext dans CMakeLists.txt
| -rw-r--r-- | Dockerfile | 2 | ||||
| -rw-r--r-- | bot/CMakeLists.txt | 1 |
2 files changed, 1 insertions, 2 deletions
@@ -41,7 +41,7 @@ RUN mkdir build && cd build && \ cmake .. \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_PREFIX_PATH=/usr/local && \ - make -j$(nproc) + make -j2 # Étape finale d'exécution FROM ubuntu:24.04 diff --git a/bot/CMakeLists.txt b/bot/CMakeLists.txt index de5d68c..048faaf 100644 --- a/bot/CMakeLists.txt +++ b/bot/CMakeLists.txt @@ -10,7 +10,6 @@ set(CMAKE_CXX_EXTENSIONS OFF) find_package(dpp REQUIRED HINTS ${DPP_INCLUDE_DIR} # Add path if needed: /nix/store/.../include ) -find_package(Gettext REQUIRED) file(GLOB_RECURSE SRC_FILES src/*.cpp include/*.hpp |
