From 63f544918d999d1715de6ed71a031ae9366a5f41 Mon Sep 17 00:00:00 2001 From: Mary Date: Mon, 28 Dec 2020 18:52:22 +0100 Subject: [PATCH] Fix build instruction to add CMAKE_BUILD_TYPE --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 7452cc98d..b0e34b689 100644 --- a/README.md +++ b/README.md @@ -111,7 +111,7 @@ After all the dependencies are installed, run the following commands to build Im ```sh mkdir build cd build -cmake .. +cmake -DCMAKE_BUILD_TYPE=Release .. make -j ``` @@ -134,7 +134,7 @@ To build ImHex on macOS, run the following commands: brew bundle --no-lock --file dist/Brewfile mkdir build cd build -CC=$(brew --prefix llvm)/bin/clang CXX=$(brew --prefix llvm)/bin/clang++ PKG_CONFIG_PATH="$(brew --prefix openssl)/lib/pkgconfig":"$(brew --prefix)/lib/pkgconfig" cmake .. +CC=$(brew --prefix llvm)/bin/clang CXX=$(brew --prefix llvm)/bin/clang++ PKG_CONFIG_PATH="$(brew --prefix openssl)/lib/pkgconfig":"$(brew --prefix)/lib/pkgconfig" cmake -DCMAKE_BUILD_TYPE=Release .. make -j ```