mirror of
https://github.com/ZoiteChat/zoitechat.git
synced 2026-03-19 04:00:19 +00:00
adjustment for windows builds
This commit is contained in:
@@ -39,14 +39,16 @@ if get_option('gtk3')
|
|||||||
gtk_dep = dependency('gtk+-3.0', version: '>= 3.22')
|
gtk_dep = dependency('gtk+-3.0', version: '>= 3.22')
|
||||||
zoitechat_gtk_cflags += '-DHAVE_GTK3'
|
zoitechat_gtk_cflags += '-DHAVE_GTK3'
|
||||||
|
|
||||||
appindicator_dep = dependency('ayatana-appindicator3-0.1', required: false)
|
if host_machine.system() != 'windows'
|
||||||
if appindicator_dep.found()
|
appindicator_dep = dependency('ayatana-appindicator3-0.1', required: false)
|
||||||
zoitechat_gtk_deps += appindicator_dep
|
if appindicator_dep.found()
|
||||||
zoitechat_gtk_cflags += '-DHAVE_AYATANA_APPINDICATOR'
|
zoitechat_gtk_deps += appindicator_dep
|
||||||
else
|
zoitechat_gtk_cflags += '-DHAVE_AYATANA_APPINDICATOR'
|
||||||
appindicator_dep = dependency('appindicator3-0.1', required: true)
|
else
|
||||||
zoitechat_gtk_deps += appindicator_dep
|
appindicator_dep = dependency('appindicator3-0.1', required: true)
|
||||||
zoitechat_gtk_cflags += '-DHAVE_APPINDICATOR'
|
zoitechat_gtk_deps += appindicator_dep
|
||||||
|
zoitechat_gtk_cflags += '-DHAVE_APPINDICATOR'
|
||||||
|
endif
|
||||||
endif
|
endif
|
||||||
else
|
else
|
||||||
gtk_dep = dependency('gtk+-2.0', version: '>= 2.24.0')
|
gtk_dep = dependency('gtk+-2.0', version: '>= 2.24.0')
|
||||||
|
|||||||
Reference in New Issue
Block a user