FindBoost.cmake in 3.15 gives "INTERFACE_LIBRARY targets may only have whitelisted properties." on component `python27`
I'm getting the following error with 3.15: ``` -- Found Boost: C:/projects/.local/lib/cmake/Boost-1.72.0/BoostConfig.cmake (found suitable exact version "1.72.0") found components: python27 CMake Error at C:/Program Files (x86)/CMake/share/cmake-3.15/Modules/FindBoost.cmake:342 (get_target_property): INTERFACE_LIBRARY targets may only have whitelisted properties. The property "IMPORTED_LOCATION_RELEASE" is not allowed. Call Stack (most recent call first): C:/Program Files (x86)/CMake/share/cmake-3.15/Modules/FindBoost.cmake:445 (_boost_set_legacy_variables_from_config) CMakeLists.txt:26 (find_package) CMake Error at C:/Program Files (x86)/CMake/share/cmake-3.15/Modules/FindBoost.cmake:342 (get_target_property): INTERFACE_LIBRARY targets may only have whitelisted properties. The property "IMPORTED_LOCATION_DEBUG" is not allowed. Call Stack (most recent call first): C:/Program Files (x86)/CMake/share/cmake-3.15/Modules/FindBoost.cmake:445 (_boost_set_legacy_variables_from_config) CMakeLists.txt:26 (find_package) ``` This occurs in the following CI run: https://ci.appveyor.com/project/pdimov/boost-install/builds/27031182/job/e8wwli0lyme8nv3t And the CMakeLists.txt that produces it is: https://github.com/boostorg/boost_install/blob/boost-1.71.0/test/python/CMakeLists.txt The problem is probably caused by the use of the component `python27`, which is handled as a special case by BoostConfig: https://github.com/boostorg/boost_install/blob/boost-1.71.0/BoostConfig.cmake#L136-L138
issue