[CMake] FIND_PACKAGE () : self location ?

Nicholas Yue yue.nicholas at gmail.com
Mon Nov 10 00:32:06 EST 2014


Hi,

  I am improving an in-house Find*.cmake and need to determine
(programmatically) where it (the Find*.cmake file) is located because I
need to run a companion python script. Is there some variable I can query ?

  If not, I will find a different way but the above seems more intuitive
and less fragile when moving things around.

Cheers
-- 
Nicholas Yue
Graphics - Arnold, Alembic, RenderMan, OpenGL, HDF5
Custom Dev - C++ porting, OSX, Linux, Windows
http://au.linkedin.com/in/nicholasyue
https://vimeo.com/channels/naiadtools
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake/attachments/20141109/92f49a40/attachment.html>


More information about the CMake mailing list