mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-13 14:05:05 +01:00
Rename cxx-test.C to cxx-test.cpp
Meson checks file extension case-insentively, and compiles ".C" as C source instead of C++.
This commit is contained in:
parent
8d7f506169
commit
ba62f9acd6
@ -123,7 +123,7 @@ dist-hook: $(BUILT_EXTRA_DIST)
|
||||
|
||||
if HAVE_CXX
|
||||
installed_test_programs += cxx-test
|
||||
cxx_test_SOURCES = cxx-test.C
|
||||
cxx_test_SOURCES = cxx-test.cpp
|
||||
endif
|
||||
|
||||
if ENABLE_TIMELOOP
|
||||
|
@ -51,7 +51,7 @@ tests = [{
|
||||
},
|
||||
'timeloop' : {},
|
||||
'cxx-test' : {
|
||||
'source' : 'cxx-test.C',
|
||||
'source' : 'cxx-test.cpp',
|
||||
'include_directories' : gmoduleinc,
|
||||
'dependencies' : [libgio_dep],
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user