Fix building non-GUI samples out of tree

Define wxUSE_GUI=0 for them.
This commit is contained in:
Vadim Zeitlin 2023-07-10 19:37:21 +02:00
parent 44b99195bc
commit 121631514c
4 changed files with 10 additions and 8 deletions

View file

@ -37,9 +37,11 @@
</define-rule>
<!-- empty stubs for things that don't make sense for makefile.unx: -->
<!-- Define templates used by the samples -->
<template id="wx_append"/>
<template id="wx_append_base"/>
<template id="wx_append_base">
<cxxflags>-DwxUSE_GUI=0</cxxflags>
</template>
<define-rule name="wx-data" pseudo="1">
<define-tag name="files"/>