Skip to content

Commit

Permalink
[CI/CD] Modify dependencies for installing
Browse files Browse the repository at this point in the history
  • Loading branch information
Sigma711 committed Aug 22, 2023
1 parent 9677a34 commit d38a8f1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/c-cpp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@ jobs:
run: git clone https://github.com/nodejs/llhttp.git && cd llhttp && sudo apt-get install npm && npm install && make && sudo make install
- name: cmake
working-directory: build
run: cmake -DCMAKE_PREFIX_PATH=`pkg-config --variable=prefix protobuf`:$CMAKE_PREFIX_PATH -DCMAKE_BUILD_TYPE=Release ..
run: |
echo `pkg-config --variable=prefix protobuf`
cmake -DProtobuf_DIR=`pkg-config --variable=prefix protobuf`:$CMAKE_PREFIX_PATH -DCMAKE_BUILD_TYPE=Release ..
- name: make
working-directory: build
run: make
Expand Down

0 comments on commit d38a8f1

Please sign in to comment.