Skip to content

Commit e2784cb

Browse files
committed
Also set the CXX compiler in the Linux build.
1 parent 3ec7a6e commit e2784cb

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/main.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,10 @@ jobs:
2222
compiler: [ gcc, clang ]
2323
include:
2424
- compiler: gcc
25+
cxx_compiler: g++
2526
packages: gcc g++
2627
- compiler: clang
28+
cxx_compiler: clang++
2729
packages: clang
2830

2931
steps:
@@ -39,7 +41,9 @@ jobs:
3941
- name: Configure ImageMagick
4042
env:
4143
CC: ${{ matrix.compiler }}
44+
CXX: ${{ matrix.cxx_compiler }}
4245
CFLAGS: -Wno-deprecated-declarations
46+
CXXFLAGS: -Wno-deprecated-declarations
4347
run: |
4448
autoreconf -fiv
4549
./configure --with-quantum-depth=16 --enable-hdri=no --without-perl --prefix=/usr

0 commit comments

Comments
 (0)