From 92ac6ac1d97c9e0616dd07dcc2c708d44e9f33b9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Blissing?= Date: Mon, 28 Jun 2021 12:58:16 +0200 Subject: [PATCH] Update github action to trigger defines via CMake Use options via explicit CMake defines, instead of calling them from the generic PUGI_BUILD_DEFINES variable. --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 9462f90..bf6948b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -42,7 +42,7 @@ jobs: steps: - uses: actions/checkout@v1 - name: cmake configure - run: cmake . -DPUGIXML_BUILD_TESTS=ON -DPUGIXML_BUILD_DEFINES=${{matrix.defines}} -A ${{matrix.arch}} + run: cmake . -DPUGIXML_BUILD_TESTS=ON -D${{matrix.defines}}=ON -A ${{matrix.arch}} - name: cmake test shell: bash # necessary for fail-fast run: |