build: disable Test interface in base manager if building without tests
There is no real need for this interface if tests are not being built.
This commit is contained in:
@@ -90,6 +90,7 @@ cc_args = cc.get_supported_arguments([
|
||||
|
||||
# tests are enabled by default
|
||||
enable_tests = get_option('tests')
|
||||
config_h.set('WITH_TESTS', enable_tests)
|
||||
|
||||
# strict flags to use in debug builds
|
||||
if get_option('buildtype').contains('debug')
|
||||
|
Reference in New Issue
Block a user