Get rid of redundant if

This commit is contained in:
King_DuckZ 2020-08-27 17:39:06 +01:00
parent 2c36e6794e
commit 5ef7a880e0

View file

@ -34,12 +34,7 @@ endif
pvt_incdir = include_directories('restc-cpp/src') pvt_incdir = include_directories('restc-cpp/src')
pub_incdir = include_directories('restc-cpp/include', 'include') pub_incdir = include_directories('restc-cpp/include', 'include')
if not get_option('tests').disabled()
#libs required by unit tests only here
boost_test_dep = dependency('boost', modules: ['log'], required: get_option('tests')) boost_test_dep = dependency('boost', modules: ['log'], required: get_option('tests'))
else
boost_test_dep = disabler()
endif
subdir('include/restc-cpp') subdir('include/restc-cpp')