NAME # The unique name of the dependency (should be the exported target's name)
There are two problems:
- Package can export several targets (i.e.
lib and lib_static).
find_package() will not work for some packages. I.e. for ZeroMQ. If I name the dependency ZeroMQ I will get an error in the Windows build, if I name dependency libzmq, it will be always downloaded, because find_package() doesn't found it.