Skip to content

Commit

Permalink
jsoncpp forces out of source builds
Browse files Browse the repository at this point in the history
  • Loading branch information
prince-chrismc authored Dec 9, 2023
1 parent 1eef322 commit dcfc022
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ runs:
wget https://github.com/open-source-parsers/jsoncpp/archive/${{ inputs.version }}.tar.gz
tar -zxf /tmp/${{ inputs.version }}.tar.gz
cd jsoncpp-${{ inputs.version }}
cmake .
# https://github.com/open-source-parsers/jsoncpp/blob/69098a18b9af0c47549d9a271c054d13ca92b006/include/PreventInSourceBuilds.cmake#L8
mkdir build
cd build
cmake ..
sudo cmake --install .
shell: bash

0 comments on commit dcfc022

Please sign in to comment.