Skip to content

cmTargetPropertyComputer: allow EXCLUDE_FROM_ALL

Wyatt Hepler requested to merge 255/cmake:whitelist-exclude-from-all into master

Whitelist the EXCLUDE_FROM_ALL property for INTERFACE libraries.

Currently, it is not possible to create INTERFACE libraries in directories added with EXCLUDE_FROM_ALL. Attempting to do so causes an 'INTERFACE_LIBRARY targets may only have whitelisted properties' error. This change adds EXCLUDE_FROM_ALL to the whitelist for INTERFACE libraries.

Merge request reports