[CMake] providing library information, what's the cmake way
Ian Monroe
ian at monroe.nu
Mon Nov 22 17:28:38 EST 2010
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
More information about the CMake
mailing list