Commit ac76963d authored by Matt Turner's avatar Matt Turner
Browse files

build: Only run tracker3 test when enabled

Previously -Denable-tracker3=no would not build the tracker3 plugin but
if the dependency was found on the system the unit test would still be
enabled (and would fail).
parent ee034994
Pipeline #274917 passed with stage
in 5 minutes and 15 seconds
......@@ -39,6 +39,6 @@ if local_metadata_enabled and lua_factory_enabled
subdir('local-metadata')
endif
if tracker3_dep.found() and tracker3_testutils_dep.found()
if get_option('enable-tracker3') != 'no' and tracker3_dep.found() and tracker3_testutils_dep.found()
subdir('tracker3')
endif
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment