Apparently the approach in FindGLUT does not work with the latest Mac build tools, the file referenced is no longer a symlinks to the library but a text metadata file, as I'm told by a Mac contributor to an open source project I maintain. I was under the impression that it was a known issue, perhaps it was not filed yet as a bug. (cf. https://github.com/OSVR/OSVR-Core/pull/232#issuecomment-147109322 )
Ryan On Thu, Oct 8, 2015, 10:23 AM Brad King <brad.k...@kitware.com> wrote: > On 10/08/2015 08:58 AM, Ryan Pavlik wrote: > > Happy to learn the correct way to make an imported target for a found > > framework if someone cares to enlighten :) > > There is an example in FindGLUT. Ideally find_library should be taught > to find the "foo.framework/foo" file instead of the "foo.framework" > directory but that will require a policy and some other changes to > accomplish. > > > On Wed, Oct 7, 2015, 3:04 AM Daniel Wirtz wrote: > >> is there any development going on towards providing FindXXX.cmake > >> wrapper modules that "convert" MODULE-mode results into CONFIG style > >> imported targets to consume? > > We'd like to head in that direction but there is no plan for a dedicated > sweep through all modules by upstream devs. We're depending on users > to contribute conversions for the modules they need. > > -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 >
-- 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