[CMake] Getting at the final compiler/linker string for a given library
Clifford Yapp
cliffyapp at gmail.com
Mon Jun 20 07:37:07 EDT 2016
Does anyone know if there's a way, given the full path find_package result:
/usr/lib/libfoo.so
to have CMake report what the eventual "-lfoo" entry will be on the
compiler/linker line? I need to report out that information into a
file independent of CMake's logic, and so far I haven't been able to
zero in on how to get at it.
Thanks,
CY
More information about the CMake
mailing list