mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-15 23:07:16 +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
|
if HAVE_CXX
|
||||||
installed_test_programs += cxx-test
|
installed_test_programs += cxx-test
|
||||||
cxx_test_SOURCES = cxx-test.C
|
cxx_test_SOURCES = cxx-test.cpp
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if ENABLE_TIMELOOP
|
if ENABLE_TIMELOOP
|
||||||
|
@ -51,7 +51,7 @@ tests = [{
|
|||||||
},
|
},
|
||||||
'timeloop' : {},
|
'timeloop' : {},
|
||||||
'cxx-test' : {
|
'cxx-test' : {
|
||||||
'source' : 'cxx-test.C',
|
'source' : 'cxx-test.cpp',
|
||||||
'include_directories' : gmoduleinc,
|
'include_directories' : gmoduleinc,
|
||||||
'dependencies' : [libgio_dep],
|
'dependencies' : [libgio_dep],
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user