Thanks Stefan,

That is a big help.

Rob

-----Original Message-----
From: Stefan Eilemann [mailto:[email protected]] 
Sent: Wednesday, November 07, 2012 12:10 AM
To: Marshall, Rob
Cc: [email protected]
Subject: Re: [CMake] How to tell if a project is an ExternalProject


On 6. Nov 2012, at 23:43, "Marshall, Rob" <[email protected]> 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



--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to