mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2025-01-27 03:17:53 +01:00
Relax synctex version check (fixes #733)
This commit is contained in:
parent
16e7dde9ed
commit
222a87cb5c
1 changed files with 5 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue