OPM/opm-core — pull request #327 by rolk (2013-08-21 16:00:28+00:00)
Title: Don't search for disabled packages

Setting CMAKE_DISABLE_FIND_PACKAGE_xxx flag should make find_package
not doing anything, but this does not seem to work with older versions
of CMake. Anyway, we can test this flag and make sure that we don't
call find_package in that case.

Also includes a check for both upper- and same-case versions of found
flag, as some modules, most notably Boost, does not set the upper-case
version of their _FOUND flag; this tests for both.

This is already tested in opm/opm-porsol#63 (they compare binary equal), so I guess it could just be rubber-stamped.