On 06/22/2016 08:11 AM, Farbos a wrote:
> I am trying to write a Find module with components and I am not sure
> of how it should be written.
> I attached the find module, Could someone tell me if I did it well?

It looks okay to me from a quick glance.

Side note: For variables private to the module I suggest using a
prefix like `_IlmBase_` to make it clear to readers that they are
not for public use.

Are there any dependencies between components?  If so then things
need to be more complicated, especially to provide the imported
targets.  See FindBoost for an example.

-Brad

-- 

Powered by www.kitware.com

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

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

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

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake-developers

Reply via email to