Fix that check_library_exist is rerun for FFTW
authorRoland Schulz <roland@utk.edu>
Thu, 16 Jan 2014 18:52:04 +0000 (13:52 -0500)
committerGerrit Code Review <gerrit@gerrit.gromacs.org>
Sun, 19 Jan 2014 05:09:35 +0000 (06:09 +0100)
commit31ca777ee46eb088e984c25116df3fce5d7c95df
tree2e0eface1b0e9df3e1a070463798a03bb5b77877
parent630187a2143ed6a19e98ba4c7cdfd74496191e96
Fix that check_library_exist is rerun for FFTW

If the library check for fftw plan fails (e.g. missing dependency or
shared library_exists not supported), then the message suggests to change
FFTWF_LIBRARY. But this failed because the check_library test wasn't
rerun because the result was already cached.

TODO: This only fixes it for FFTW. E.g. FindGsl has the same problem.

Change-Id: I170588b0fca2515e9626d7fd85a5730a10777355
cmake/FindFFTW.cmake