> if(EXISTS ${CMAKE_ROOT}/Modules/Foo.cmake)
> include(${CMAKE_ROOT}/Modules/Foo.cmake)
> else()
> ...
> endif()
If I have 2.8.2 installed on the host, but my software has 2.8.6
module imported, the version 2.8.2 will be selected. Therefore, it
will "break". I think it needs more restricted check.
Best Regards,
Laszlo Papp
--
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ
Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake