From 48e355beefeaa6ee4fa5fc223c90e2415ac8d9dc Mon Sep 17 00:00:00 2001 From: pezcode <pezcode@users.noreply.github.com> Date: Fri, 21 May 2021 16:04:48 +0200 Subject: [PATCH] fix install instruction for multi-config generators they don't respect CMAKE_BUILD_TYPE, but need --config at build time --- doc/Install.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/Install.md b/doc/Install.md index 10b7b01c..aad237aa 100644 --- a/doc/Install.md +++ b/doc/Install.md @@ -33,7 +33,7 @@ mkdir build cd build cmake -D CMAKE_BUILD_TYPE=Release -D CMAKE_INSTALL_PREFIX=../lava-install .. -cmake --build . --target install +cmake --build . --config Release --target install ``` First find the package in your *CMakeLists.txt* -- GitLab