Don't cache ${FFTW}_HAVE_(SIMD|AVX)
authorRoland Schulz <roland@utk.edu>
Mon, 14 Jan 2013 06:38:05 +0000 (01:38 -0500)
committerMark Abraham <mark.j.abraham@gmail.com>
Wed, 16 Jan 2013 01:16:02 +0000 (02:16 +0100)
commitf4332136d0d8541b227e951a7f3c82fc54d643f1
tree05493b0b8a85a835c68fd7eb4431220511278562
parentfa181964de6c9e064fe474940c78e00bfd96117f
Don't cache ${FFTW}_HAVE_(SIMD|AVX)

The error message was incorrect if the library was changed. E.g.
if the library wasn't found on the first try and then (e.g. with
CMAKE_PREFIX_PATH) was found on the 2nd try. Could have been
resolved by using FORCE when setting variables, but that would
have defeated the purpose of allowing the user to overwrite
the value for future versions which might be misidentified.
Any solution which lets the user to overwrite but still works
correctly if the library changes would be difficult. Given that
it is only for displaying a warning message, it is not worth
making it much more complicated.

Change-Id: I0b6c5a204ee0114ef9de9337491a14457917f9d7
cmake/FindFFTW.cmake