Thank you Marc.
That's interesting, I was not aware that they were relinked. I thought they
were just copied.
I guess I'll have to provide the install directory to pick the libraries
found in the install directory instead of the build directory?
Regards,
Saad
On Fri, Jan 12, 2018 at 2:57 AM
Hi,
During install step, installed libraries and executables are relinked to
generate binaries without absolute paths so installed artifacts are independent
from your build tree.
During build step, build binaries are used as well as absolute paths so
produced binaries can be used during build
Hi,
I would like find_package(MyLib) to link find the libraries found in the
INSTALL folder instead of the build folder.
Currently, when I do a find_package(MyLib) and then
target_link_libraries(target MyLib) the paths all point to MyLib's build
folder and not the folder where MyLib's