[CMake] Using imported targets with export command
Rodolfo Schulz de Lima
rodolfo at rodsoft.org
Thu Jan 15 10:43:22 EST 2009
Rodolfo Schulz de Lima escreveu:
> me. The documentation states that an imported target is visible in the
> current directory and below. What is the rationale for this behaviour?
After some testing, the documentation is misleading. Actually cmake does
the right thing, it's possible to reference an imported target outside
the directory it's created.
What isn't possible is to use an imported library in a export command.
Why is it so?
Regards,
rod
More information about the CMake
mailing list