Don't prevent GMX_PREFER_STATIC_LIBS with BUILD_SHARED_LIBS
commit6057a9707e4d1481e07be6ee68067655e38b0c45
authorRoland Schulz <roland@utk.edu>
Thu, 5 Jul 2012 23:08:41 +0000 (5 19:08 -0400)
committerGerrit Code Review <gerrit@gerrit.gromacs.org>
Fri, 6 Jul 2012 03:03:00 +0000 (6 05:03 +0200)
tree0be64a411aaf72e460149561a726d6c9a99ed0c9
parent26bd5f7ac7af14f438095990d84ab720c5012cb3
Don't prevent GMX_PREFER_STATIC_LIBS with BUILD_SHARED_LIBS

In general it seems better to not overwrite the user requested
settings unless the settings are not possible.
In this case the combination makes sense for binary packages.
Static external libraries make them easier to distribute and
shared gromacs libraries make them much smaller.

Change-Id: Icb9c4dfa2e7d211ab6bd2efcb2f2437504a87cfe
CMakeLists.txt