Skip to content

Commit f426ca9

Browse files
committed
link to libpng when building with wxW 3.3 on OSX
1 parent 954b29b commit f426ca9

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/meson.build

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,10 @@ elif host_machine.system() == 'darwin'
5757
tests_args += ['-DGTEST_HAS_POSIX_RE=0']
5858
endif
5959

60+
if host_machine.system() == 'darwin' and get_option('wx_version').version_compare('>=3.3.0')
61+
tests_deps += dependency('libpng')
62+
endif
63+
6064
runner = executable(
6165
'gtest-main',
6266
tests_src,

0 commit comments

Comments
 (0)