Error evaluating generator expression --- but exit states == 0 ?

I tried the 4.5.0-rc1 version and got what seemed like an error (se below). But the cmake invocation went ok (exit == 0), and I could build my project.

Shouldn’t this be reported in some other way, not saying that it is an error?

CMake Error:                                                                                                                                                                                        
  Error evaluating generator expression:                                                                                                                                                            
                                                                                                                                                                                                    
    $<TARGET_PROPERTY:Cups::Cups,INTERFACE_INCLUDE_DIRECTORIES>                                   
                                                                                                  
  Target "Cups::Cups" not found.

I’m not able to reproduce the problem with a simple project like:

cmake_minimum_required(VERSION 4.4)
project(Discourse15876 C)
add_executable(main main.c)
target_include_directories(main PRIVATE "$<TARGET_PROPERTY:Cups::Cups,INTERFACE_INCLUDE_DIRECTORIES>")

Please post a more complete example demonstrating the problem.