Follow-up from "Add check to make sure that all subdirs and source files are used"
The following discussion from !3334 (merged) should be addressed:
-
@clemenci started a discussion: @maszyman noticed this results in an error for some targets when using CMake < 3.19:
CMake Error at cmake/LHCbConfigUtils.cmake:321 (get_property): INTERFACE_LIBRARY targets may only have whitelisted properties. The property "SOURCES" is not allowed. Call Stack (most recent call first): CMakeLists.txt:199 (lhcb_finalize_configuration)
It's a low priority, but it should be fixed.