CMake helper for dependent cache variables.
authorTeemu Murtola <teemu.murtola@gmail.com>
Fri, 24 May 2013 15:16:41 +0000 (18:16 +0300)
committerGerrit Code Review <gerrit@gerrit.gromacs.org>
Thu, 26 Sep 2013 00:23:49 +0000 (02:23 +0200)
commit4e785f1b6b547fb27c058f45738bb958370ce6ab
tree3aa168395ed5c06bda5b3f995676e488f7a91d7d
parent931740740c62c9f6499aedd892c0651f3c82f1b1
CMake helper for dependent cache variables.

Added somewhat extended version of cmake_dependent_option() and used
that for declaring cache variables that are only used if some condition
is satisfied.  Again, not a big change in functionality, but makes
things work more uniformly, and makes it easier to add such options and
not need to think how to implement all the details.

Some dependent options remain that are not yet using the new macros.

Change-Id: I72f4bd19d24c06475bc7f55b6bd561381e5776aa
CMakeLists.txt
cmake/gmxOptionUtilities.cmake