Fix cmake warning.
This commit is contained in:
parent
e061cc1415
commit
c4b42eadc0
1 changed files with 2 additions and 2 deletions
4
.github/workflows/ci-scripts/docker.sh
vendored
4
.github/workflows/ci-scripts/docker.sh
vendored
|
@ -61,7 +61,7 @@ if [ "$NLS" == "only" ]; then
|
|||
./utils/CI/utf8_bom_dog.sh || exit 1
|
||||
echo "Checked for invalid characters"
|
||||
|
||||
cmake -DENABLE_NLS=true -DENABLE_GAME=false -DENABLE_SERVER=false -DENABLE_CAMPAIGN_SERVER=false -DENABLE_TESTS=false -DENABLE_POT_UPDATE_TARGET=TRUE
|
||||
cmake -DENABLE_NLS=true -DENABLE_GAME=false -DENABLE_SERVER=false -DENABLE_CAMPAIGN_SERVER=false -DENABLE_TESTS=false -DENABLE_POT_UPDATE_TARGET=TRUE .
|
||||
make update-po4a-man || exit 1
|
||||
echo "Ran cmake pdate-po4a-man"
|
||||
make update-po4a-manual || exit 1
|
||||
|
@ -114,7 +114,7 @@ else
|
|||
|
||||
cmake -DCMAKE_BUILD_TYPE="$CFG" -DENABLE_GAME=true -DENABLE_SERVER=true -DENABLE_CAMPAIGN_SERVER=true -DENABLE_TESTS=true -DENABLE_NLS="$NLS" \
|
||||
-DEXTRA_FLAGS_CONFIG="-pipe" -DENABLE_STRICT_COMPILATION=true -DENABLE_LTO="$LTO" -DLTO_JOBS=2 -DENABLE_MYSQL=true \
|
||||
-DCXX_STD="$CXX_STD" -DCMAKE_C_COMPILER_LAUNCHER=ccache -DCMAKE_CXX_COMPILER_LAUNCHER=ccache && \
|
||||
-DCXX_STD="$CXX_STD" -DCMAKE_C_COMPILER_LAUNCHER=ccache -DCMAKE_CXX_COMPILER_LAUNCHER=ccache . && \
|
||||
make VERBOSE=1 -j2
|
||||
EXIT_VAL=$?
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue