From 71f694bdb84b613cd724e108024053fe90b2c70a Mon Sep 17 00:00:00 2001 From: Sergey Skorokhod Date: Mon, 7 Nov 2022 17:53:58 +0300 Subject: [PATCH] fix set of ETL_NO_STL flag (#628) Co-authored-by: Sergey Skorokhod --- meson.build | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/meson.build b/meson.build index 6bd1c8c1..fc5bad58 100644 --- a/meson.build +++ b/meson.build @@ -12,10 +12,8 @@ project('etl', ) compile_args = [] -if get_option('use_stl') - compile_args += '-DETL_NO_STL=0' -elif - compile_args += '-DETL_NO_STL=1' +if not get_option('use_stl') + compile_args += '-DETL_NO_STL' endif etl_dep = declare_dependency(