As found by our Conan PR, CMake version 3.18 is not supported for builds as the INTERFACE_LIBRARY allowlist still exists, therefore our Resources target as well as our copy_build_products function both throw errors as we access properties that are not allowed in versions below 3.19.0.
We have two options here -
Bump the versioning up to 3.19
Try to work around all the restrictions (namely being RESOURCE and BINARY_DIR properties being accessed by INTERFACE libraries in CMake)
I opt for the former as it's less work, and less catastrophic to our environment atm.
As found by our Conan PR, CMake version 3.18 is not supported for builds as the
INTERFACE_LIBRARY
allowlist still exists, therefore ourResources
target as well as ourcopy_build_products
function both throw errors as we access properties that are not allowed in versions below 3.19.0.We have two options here -
RESOURCE
andBINARY_DIR
properties being accessed byINTERFACE
libraries in CMake)I opt for the former as it's less work, and less catastrophic to our environment atm.