LOCATION property of INTERFACE libraries should be whitelisted
Hi,
I'm very new to CMake with only limited working knowledge.
I have an interface library in an external project, only meant to install a pre-built shared lib and it's DLL on Windows.
For most part everything works fine and the consumer can simply use find_package
as usual to link against the interface library.
However, the consumer must copy the DLL to TARGET_FILE_DIR
to be able to run.
LOCATION
here is the best option to pass down the DLL path to the consumer but is currently not a whitelisted property of an interface library.
LOCATION
should be whitelisted for the interface libraries.
Edited by Anand Ramesh