Skip to content

Commit

Permalink
add cmake build flags
Browse files Browse the repository at this point in the history
  • Loading branch information
tangowithfoxtrot committed Sep 18, 2024
1 parent 049a41a commit 17533b4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-cpp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ jobs:
mkdir build
cd build
cmake .. -DNLOHMANN=$DNLOHMANN_PATH -DBOOST=$DBOOST_PATH -DTARGET=$DTARGET -DBOOST_INCLUDE_DIR=$DBOOST_PATH -DNLOHMANN_INCLUDE_DIR=$DNLOHMANN_PATH
cmake .. -DNLOHMANN=$DNLOHMANN_PATH -DBOOST=$DBOOST_PATH -DTARGET=$DTARGET
cmake --build .
- name: Build windows
Expand All @@ -168,7 +168,7 @@ jobs:
export DTARGET="include/bitwarden_c.dll"
ls $DNLOHMANN_PATH/json.hpp || { echo "Missing json.hpp"; exit 1; }
ls $DBOOST_PATH/optional.hpp || { echo "Missing boost"; exit 1; }
cmake .. -DNLOHMANN=$DNLOHMANN_PATH -DBOOST=$DBOOST_PATH -DTARGET=$DTARGET
cmake .. -DNLOHMANN=$DNLOHMANN_PATH -DBOOST=$DBOOST_PATH -DTARGET=$DTARGET -DBOOST_INCLUDE_DIR=$DBOOST_PATH -DNLOHMANN_INCLUDE_DIR=$DNLOHMANN_PATH -DNLOHMANN_JSON_INCLUDE_DIR=$DNLOHMANN_PATH
cmake --build .
shell: bash

Expand Down

0 comments on commit 17533b4

Please sign in to comment.