From 4dc0360106b33540d522a2b713c472776fa55dfe Mon Sep 17 00:00:00 2001 From: Dominik Berner Date: Sat, 3 Aug 2024 13:57:51 +0200 Subject: [PATCH] fix cmake flag --- .github/workflows/superbuild.yml | 2 +- chapter10/ex03_simple_qt_app/README.md | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/superbuild.yml b/.github/workflows/superbuild.yml index 69c13e3..e75815a 100644 --- a/.github/workflows/superbuild.yml +++ b/.github/workflows/superbuild.yml @@ -38,7 +38,7 @@ jobs: - name: cmake-configure run: | - cmake -S . -B ./build -GNinja -DCH10_EX03_SUPERBUILD=ON -DCMAKE_BUILD_TYPE=Debug + cmake -S . -B ./build -GNinja -DCH10_EX03_USE_SUPERBUILD=ON -DCMAKE_BUILD_TYPE=Debug working-directory: chapter10/ex03_simple_qt_app - name: build diff --git a/chapter10/ex03_simple_qt_app/README.md b/chapter10/ex03_simple_qt_app/README.md index 505579a..e24b5be 100644 --- a/chapter10/ex03_simple_qt_app/README.md +++ b/chapter10/ex03_simple_qt_app/README.md @@ -9,8 +9,8 @@ In order to build the project with Ninja and the MSVC compiler, you will need to ```bash C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvarsall.bat x64 -cmake -S . -B build -G Ninja -DCH10_EX03_SUPERBUILD=ON +cmake -S . -B build -G Ninja -DCH10_EX03_USE_SUPERBUILD=ON cmake --build ./build ``` - +(Be sure to replace the path to `vcvarsall.bat` with the correct path for your system.)