[CMake] How to tell if a project is an ExternalProject
Marshall, Rob
robm at qti.qualcomm.com
Wed Nov 7 11:53:41 EST 2012
Thanks Stefan,
That is a big help.
Rob
-----Original Message-----
From: Stefan Eilemann [mailto:eilemann at gmail.com]
Sent: Wednesday, November 07, 2012 12:10 AM
To: Marshall, Rob
Cc: cmake at cmake.org
Subject: Re: [CMake] How to tell if a project is an ExternalProject
On 6. Nov 2012, at 23:43, "Marshall, Rob" <robm at qti.qualcomm.com> wrote:
> I am trying to write a snippet that will determine if a library is an external project.
We're using
get_target_property(_dep_check ${package} _EP_IS_EXTERNAL_PROJECT)
if(_dep_check EQUAL 1)
...
Not sure if this is a blessed way of doing so.
Cheers,
Stefan.
--
http://www.eyescale.ch
http://www.equalizergraphics.com
http://www.linkedin.com/in/eilemann
More information about the CMake
mailing list