Re: [CMake] Writing find packages

2015-09-05 Thread Gregor Jasny via CMake
Hello, On 03/09/15 23:15, Robert Dailey wrote: > How recent is this documentation? > http://www.cmake.org/Wiki/CMake:How_To_Find_Libraries#Writing_find_modules > > It seems rather old. What is the modern way of doing this? The cmake-developer help page has a section about modules: http://www.cma

[CMake] Writing find packages

2015-09-03 Thread Robert Dailey
How recent is this documentation? http://www.cmake.org/Wiki/CMake:How_To_Find_Libraries#Writing_find_modules It seems rather old. What is the modern way of doing this? Below is my find module, I'm not sure if I'm doing it "the right way": # Try to find the vsvars32.bat file if( MSVC_VERSION EQUA