Add a target nfd::nfd as an alias for the library nfd.
This naming convention is common in other CMake projects. The presence of :: in the identifier results in fail-fast behavior; when a user calls target_link_libraries or similar, nfd::nfd MUST be an existing target at configure time, but nfd might have been a system library. As a result, the latter would appear to work until the linker fails to find a library by that name.
This is not a breaking change - plain nfd is still accessible.
Add a target
nfd::nfd
as an alias for the librarynfd
.This naming convention is common in other CMake projects. The presence of
::
in the identifier results in fail-fast behavior; when a user callstarget_link_libraries
or similar,nfd::nfd
MUST be an existing target at configure time, butnfd
might have been a system library. As a result, the latter would appear to work until the linker fails to find a library by that name.This is not a breaking change - plain
nfd
is still accessible.