Reordered FFTW fatal error; avoids using unset variables
authorMark Abraham <mark.j.abraham@gmail.com>
Fri, 9 Aug 2013 14:44:11 +0000 (16:44 +0200)
committerMark Abraham <mark.j.abraham@gmail.com>
Fri, 9 Aug 2013 14:51:58 +0000 (16:51 +0200)
commit0a3916ae50d5107ca68cacb8a1bea6ebfe50418b
tree9ebbdd7ab009210719e5219506e1507a17d50e91
parentb44d7f71127bea50ceee243bca556e0245e6fcf7
Reordered FFTW fatal error; avoids using unset variables

Now variables that are set in FFTW detection are only used when the
variable that reports FFTW has been found is set (i.e. there has not
been a fatal error). Not sure why we haven't seen problems with this
so far, but we do see them on Power7 with cmake 2.8.8 when FFTWF is
not available.

Change-Id: I1a3e84002dda7f29f90eb532ab14ce51dfca6e5c
CMakeLists.txt