Code such as target_include_directories(foo PRIVATE ${items}) should not work or break based on whether items is defined or not.
This command populates the COMPILE_OPTIONS target property.