diff --git a/test/conformance/CMakeLists.txt b/test/conformance/CMakeLists.txt index 49c16bf6f1..31048cce28 100644 --- a/test/conformance/CMakeLists.txt +++ b/test/conformance/CMakeLists.txt @@ -33,7 +33,7 @@ function(add_test_adapter name adapter) endif() set(TEST_ENV UR_ADAPTERS_FORCE_LOAD="$") - if(NOT UR_CONFORMANCE_TEST_DIR) + if(UR_CONFORMANCE_ENABLE_MATCH_FILES) list(APPEND TEST_ENV GTEST_COLOR=no) endif() set_tests_properties(${TEST_NAME} PROPERTIES