Hello, for reference:
On 10/03/14 20:53, Gregor Jasny wrote: > I wrote some FindXYZ modules that utilize FindPackageHandleStandardArgs > to find precompiled libraries. Now I have to "find" a library that > itself depends on another library and I wonder what's the recommended > way to do so? > > I thought about nesting the find_package calls but then I have the > problem of forwarding options like REQUIRED from the outmost invocation. Just forward the quiet flags and nest the find_package calls: https://gitorious.org/cmake/cmake/source/7246e635fe8312206b62a279b3c237d1cf584c83:Modules/FindPNG.cmake -Gregor -- 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://www.cmake.org/mailman/listinfo/cmake
