From a9a2af14fdd452996b0fd63a37b680d21452af59 Mon Sep 17 00:00:00 2001 From: Pedro Olsen Ferreira Date: Wed, 12 Jun 2024 14:10:23 +0100 Subject: [PATCH] Update cmake-multi-platform.yml --- .github/workflows/cmake-multi-platform.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/cmake-multi-platform.yml b/.github/workflows/cmake-multi-platform.yml index 3493a1a..b892cf2 100644 --- a/.github/workflows/cmake-multi-platform.yml +++ b/.github/workflows/cmake-multi-platform.yml @@ -36,7 +36,7 @@ jobs: - os: macos-latest c_compiler: clang cpp_compiler: clang++ - options: -DCL_TARGET_OPENCL_VERSION=120 + cmake_options: -DCL_TARGET_OPENCL_VERSION=120 exclude: - os: windows-latest c_compiler: gcc @@ -67,6 +67,8 @@ jobs: -DCMAKE_CXX_COMPILER=${{ matrix.cpp_compiler }} -DCMAKE_C_COMPILER=${{ matrix.c_compiler }} -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} + ${{ matrix.cmake_options }} + -DCMAKE_CXX_FLAGS=${{ matrix.cpp_flags }} -S ${{ github.workspace }} - name: Build