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