On 2016-09-01 at 18:57 +0200, Stephen Kelly wrote: > Ivan Shapovalov wrote: > > > > > Of course, I can always edit the FooConfig.cmake file manually, but > > I'd > > better avoid patching anything (installing new files or running any > > cmake commands is OK). > > > > Is there any nice way to solve this? > > After > > find_package(Foo CONFIG) > > do > > set_property(TARGET Foo::Foo PROPERTY LOCATION "foo_overlay.so") > > Apply whatever platform-specific conditions, suffix and prefix are > appropriate.
Yes, I thought of this, but I'd better avoid patching either project's buildsystem. Is it possible to do this entirely by installing new files or passing arguments in cmake command line? Thanks, -- Ivan Shapovalov / intelfx /
signature.asc
Description: This is a digitally signed message part
-- 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
