Skip to content

Commit

Permalink
.github/workflows/alpine/build.sh: use CMAKE_CXX_STANDARD=23
Browse files Browse the repository at this point in the history
  • Loading branch information
rouault committed May 8, 2024
1 parent cadad33 commit e0ff450
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/alpine/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ cmake ${GDAL_SOURCE_DIR:=..} \
-DIconv_INCLUDE_DIR=/usr/include/gnu-libiconv \
-DIconv_LIBRARY=/usr/lib/libiconv.so \
-DADD_EXTERNAL_DEFERRED_PLUGIN_FOO=/tmp/foo.cpp \
-DCMAKE_C_FLAGS=-Werror -DCMAKE_CXX_FLAGS="-std=c++23 -Werror" -DWERROR_DEV_FLAG="-Werror=dev"
-DCMAKE_CXX_STANDARD=23 \
-DCMAKE_C_FLAGS=-Werror -DCMAKE_CXX_FLAGS="-Werror" -DWERROR_DEV_FLAG="-Werror=dev"
make -j$(nproc)
make -j$(nproc) install DESTDIR=/tmp/install-gdal

Expand Down

0 comments on commit e0ff450

Please sign in to comment.