The TEST_INCLUDE_FILE directory property got deprecated in CMake 3.10 and TEST_INCLUDE_FILES should be used instead.
Fixes: #21004