diff --git a/.github/workflows/build-cpp.yml b/.github/workflows/build-cpp.yml index 013c16bb7..ce5d6ab45 100644 --- a/.github/workflows/build-cpp.yml +++ b/.github/workflows/build-cpp.yml @@ -114,8 +114,12 @@ jobs: run: | mkdir build cd build - cmake .. -DNLOHMANN="C:\vcpkg\buildtrees\boost\" -DBOOST="C:\vcpkg\buildtrees\nlohmann-json\" -DTARGET="include/libbitwarden_c.dll" + $DNLOHMANN_PATH="C:\vcpkg\buildtrees\nlohmann-json\" + $DBOOST_PATH="C:\vcpkg\buildtrees\boost\" + $DTARGET="include\libbitwarden_c.dll" + cmake .. -DNLOHMANN=$DNLOHMANN_PATH -DBOOST=$DBOOST_PATH -DTARGET=$DTARGET cmake --build . + shell: pwsh - name: Copy artifacts working-directory: languages/cpp/build