Disable fast vapi generation for vala 0.44.10, 0.46.4 and 0.47.1

fixes #646
This commit is contained in:
fiaxh 2019-11-17 17:30:40 +01:00
parent 65feaece87
commit 2811eaf7c5

View file

@ -124,8 +124,8 @@ if(NOT VALA_EXECUTABLE)
endif()
find_package(Vala 0.34 REQUIRED)
if(VALA_VERSION VERSION_GREATER "0.34.90" AND VALA_VERSION VERSION_LESS "0.36.1")
# Due to a bug on 0.36.0 (and pre-releases), we need to disable FAST_VAPI
if(VALA_VERSION VERSION_GREATER "0.34.90" AND VALA_VERSION VERSION_LESS "0.36.1" OR # Due to a bug on 0.36.0 (and pre-releases), we need to disable FAST_VAPI
VALA_VERSION VERSION_EQUAL "0.44.10" OR VALA_VERSION VERSION_EQUAL "0.46.4" OR VALA_VERSION VERSION_EQUAL "0.47.1") # See Dino issue #646
set(DISABLE_FAST_VAPI yes)
endif()