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,7 +83,11 @@ if get_option('enable-synctex') and synctex.found()
build_dependencies += synctex
defines += '-DWITH_SYNCTEX'
if synctex.version() < '2.0.0'
defines += '-DWITH_SYNCTEX1'
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'
endif
endif
endif