Re: [CMake] FIND_PACKAGE () : self location ?

2014-11-10 Thread Nils Gladitz
On 11/10/2014 06:32 AM, Nicholas Yue wrote: 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 ? CMAKE_CURRENT_LIST_DIR for the full pat

[CMake] FIND_PACKAGE () : self location ?

2014-11-09 Thread Nicholas Yue
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