So with a library, the correct thing to do is to install your
FindLibrary.cmake into ${CMAKE_ROOT}/Modules and then dependent
projects would just do find_package(Library REQUIRED) correct?

I guess I'm thinking about how, in the situation where they don't have
the library installed, they would then just get a cmake error that it
can't find the FindLibrary.cmake. So that doesn't really seem right.

We're going from SVN to Git and splitting up a monolithic project
(kdebindings) into several separate projects (qtruby, korundum,
smoke...). I really don't want to have a copy of FindLibrary.cmake
(well really FindSmoke.cmake) in each project's repo.

This seems like a common situation,  so I'm wondering what the common
solution is.

Thanks,
Ian
_______________________________________________
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