From dcfc0226e67c0376899f43a069d62cae8e64dde6 Mon Sep 17 00:00:00 2001 From: Chris Mc Date: Sat, 9 Dec 2023 16:04:46 -0500 Subject: [PATCH] jsoncpp forces out of source builds --- .../actions/install/open-source-parsers-jsoncpp/action.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/actions/install/open-source-parsers-jsoncpp/action.yml b/.github/actions/install/open-source-parsers-jsoncpp/action.yml index c4e57acf1..fa6a2bc16 100644 --- a/.github/actions/install/open-source-parsers-jsoncpp/action.yml +++ b/.github/actions/install/open-source-parsers-jsoncpp/action.yml @@ -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