Ah, gotcha. So, is it expected that each project in a client's package will call find_package(xyz)?
I am used to the top level CMakeLists finding all the dependencies, and then passing the information down into projects. I am happy to update our system behavior to match what is more correct. Adam -----Original Message----- From: Brad King [mailto:brad.k...@kitware.com] Sent: Wednesday, February 03, 2016 1:36 PM To: Adam Rankin <aran...@robarts.ca> Cc: cmake-developers@cmake.org Subject: Re: [cmake-developers] [partial duplicate of users mailing list] SelectLibraryConfigurations On 02/03/2016 01:03 PM, Adam Rankin wrote: > Is there documentation on best practices for writing findxyz modules? There is a section in the cmake-developer manual: https://cmake.org/cmake/help/v3.5/manual/cmake-developer.7.html#find-modules > How does a client determine the target names that are imported after > calling find_package? Client authors should read the module documentation, just as they might to see the list of provided variables. -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