From f4334732da0846c3e73f7bc490fabd807598925b Mon Sep 17 00:00:00 2001 From: Marvin W Date: Thu, 23 Mar 2017 21:44:27 +0100 Subject: RPM + tito + copr support --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index 0a6eab42..173bed35 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -67,8 +67,8 @@ set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}) set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}) find_package(Vala 0.30 REQUIRED) -if(VALA_VERSION VERSION_EQUAL "0.36.0") - # Due to a bug on 0.36.0, we need to disable FAST_VAPI +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 set(DISABLE_FAST_VAPI yes) endif() -- cgit v1.2.3-54-g00ecf