CMAKE_FIND_PACKAGE_TARGETS_GLOBAL

在 3.24 版被加入.

Setting to TRUE promotes all IMPORTED targets discovered by find_package() to a GLOBAL scope.

Setting this to TRUE is akin to specifying GLOBAL as an argument to find_package(). Default value is OFF.