Avoid getting LOCATION property

It's not supported in newer CMake, so try to deduce the library
filename from the target name.
1 file changed