Skip to content

Use NAMELINK_COMPONENT in CMake install

CMake 3.12 and higher support a new option NAMELINK_COMPONENT for handling the namelink component separately.

The old code produces an error on CMake 3.19:

CMake Error: install(EXPORT "LibXml2" ...) includes target "LibXml2" more than once in the export set.

Merge request reports