Relax synctex version check (fixes #733)

This commit is contained in:
Sebastian Ramacher 2018-06-12 08:29:47 +02:00
parent 16e7dde9ed
commit 222a87cb5c

View File

@ -83,8 +83,12 @@ if get_option('enable-synctex') and synctex.found()
build_dependencies += synctex build_dependencies += synctex
defines += '-DWITH_SYNCTEX' defines += '-DWITH_SYNCTEX'
if synctex.version() < '2.0.0' if synctex.version() < '2.0.0'
if synctex.version() < '1.19.0'
warning('You are using a synctex version pre-SONAME bump, but post-ABI-break. Please make sure to always run zathura using the correct synctex version.')
else
defines += '-DWITH_SYNCTEX1' defines += '-DWITH_SYNCTEX1'
endif endif
endif
endif endif
if get_option('enable-magic') and magic.found() if get_option('enable-magic') and magic.found()