To simplify exporting targets I added IMPORTED targets to some of the
Find modules.
Unfortunately targets behave differently than variables and can give
different results when multiple find_package calls with different
hints or options are made. There could be possible work-arounds
(e.g. versioned namespaces), but I opted for the simplest solution and
the use-case seems unusual to me.
Philipp Möller (5):
FindZLIB.cmake: Add imported target and documentation
FindGLEW.cmake: Add imported target and documentation
FindX11.cmake: fix documentation conversion error
FindGLUT.cmake: Add imported targets and documentation
FindBoost.cmake: Add Boost::boost and Boost::<C> targets and
documentation
Modules/FindBoost.cmake | 52 +++++++++++++++++++++++++++++++++-
Modules/FindGLEW.cmake | 16 +++++++++++
Modules/FindGLUT.cmake | 58 +++++++++++++++++++++++++++++++++++++-
Modules/FindX11.cmake | 75 ++++++++++++++++++++++++-------------------------
Modules/FindZLIB.cmake | 31 ++++++++++++++------
5 files changed, 183 insertions(+), 49 deletions(-)
--
2.0.0
--
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