From fd3a5c58c1acbdf649ec956acb7dca5f24638f72 Mon Sep 17 00:00:00 2001 From: rvaser Date: Mon, 30 Oct 2023 14:21:48 +0100 Subject: [PATCH] Fix meson subproject loading --- CMakeLists.txt | 2 +- meson.build | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index b8890f1..503d58b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,6 +1,6 @@ cmake_minimum_required(VERSION 3.12) -project(spoa VERSION 4.1.2 +project(spoa VERSION 4.1.3 LANGUAGES CXX DESCRIPTION "Spoa is a c++ library (and tool) for SIMD vectorized partial order alignment.") diff --git a/meson.build b/meson.build index 58c3648..8daf7b5 100644 --- a/meson.build +++ b/meson.build @@ -1,7 +1,7 @@ project( 'spoa', ['cpp'], - version : '4.1.2', + version : '4.1.3', default_options : [ 'buildtype=release', 'warning_level=3', @@ -26,7 +26,7 @@ if get_option('cereal') spoa_lib_deps += spoa_cereal_dep endif -if (not meson.is_subproject()) +if (not meson.is_subproject()) and (get_option('exe') or get_option('tests')) # biosoup spoa_biosoup_dep = dependency('biosoup', version : '>= 0.11.0', fallback : ['biosoup', 'biosoup_dep'])