mirror of
https://github.com/ZoiteChat/zoitechat.git
synced 2026-03-22 13:40:17 +00:00
adjustment for windows builds
This commit is contained in:
@@ -39,6 +39,7 @@ 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'
|
||||||
|
|
||||||
|
if host_machine.system() != 'windows'
|
||||||
appindicator_dep = dependency('ayatana-appindicator3-0.1', required: false)
|
appindicator_dep = dependency('ayatana-appindicator3-0.1', required: false)
|
||||||
if appindicator_dep.found()
|
if appindicator_dep.found()
|
||||||
zoitechat_gtk_deps += appindicator_dep
|
zoitechat_gtk_deps += appindicator_dep
|
||||||
@@ -48,6 +49,7 @@ if get_option('gtk3')
|
|||||||
zoitechat_gtk_deps += appindicator_dep
|
zoitechat_gtk_deps += appindicator_dep
|
||||||
zoitechat_gtk_cflags += '-DHAVE_APPINDICATOR'
|
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')
|
||||||
zoitechat_gtk_cflags += '-DHAVE_GTK2'
|
zoitechat_gtk_cflags += '-DHAVE_GTK2'
|
||||||
|
|||||||
Reference in New Issue
Block a user