diff --git a/.github/workflows/cmake_util.yml b/.github/workflows/cmake_util.yml index f66dcd894..9e2498ff2 100644 --- a/.github/workflows/cmake_util.yml +++ b/.github/workflows/cmake_util.yml @@ -39,7 +39,7 @@ jobs: working-directory: ${{env.CMAKELISTS_DIR}} # Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make. # See https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html?highlight=cmake_build_type - run: cmake -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DCMAKE_TOOLCHAIN_FILE="conan_toolchain.cmake" + run: cmake -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DCMAKE_TOOLCHAIN_FILE="${{env.CMAKE_BUILD_DIR}}/conan_toolchain.cmake" - name: Build working-directory: ${{env.CMAKELISTS_DIR}}