diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-06-20 06:54:56 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-06-20 06:54:56 +0400 |
commit | 97a85fe1000b727e0b6c04e0978e22d986125358 (patch) | |
tree | e09320f79b3e54e369437bd58884dc48d000256b /build_files/cmake/Modules/FindFftw3.cmake | |
parent | 6d7e3509a9feb6d7259ad395d46ca20fa0b5234e (diff) |
- add example for python rna property update
- edit the copyright for blender specific cmake find modules
Diffstat (limited to 'build_files/cmake/Modules/FindFftw3.cmake')
-rw-r--r-- | build_files/cmake/Modules/FindFftw3.cmake | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/build_files/cmake/Modules/FindFftw3.cmake b/build_files/cmake/Modules/FindFftw3.cmake index 1b30fd2af60..197d4aab7b6 100644 --- a/build_files/cmake/Modules/FindFftw3.cmake +++ b/build_files/cmake/Modules/FindFftw3.cmake @@ -12,7 +12,7 @@ # FFTW3_LIBRARY, where to find the Fftw3 library. #============================================================================= -# Copyright 2002-2009 Kitware, Inc. +# Copyright 2011 Blender Foundation. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. @@ -21,8 +21,6 @@ # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= -# (To distribute this file outside of CMake, substitute the full -# License text for the above reference.) # If FFTW3_ROOT_DIR was defined in the environment, use it. IF(NOT FFTW3_ROOT_DIR AND NOT $ENV{FFTW3_ROOT_DIR} STREQUAL "") @@ -37,7 +35,9 @@ SET(_fftw3_SEARCH_DIRS /opt/csw # Blastwave ) -FIND_PATH(FFTW3_INCLUDE_DIR fftw3.h +FIND_PATH(FFTW3_INCLUDE_DIR + NAMES + fftw3.h HINTS ${_fftw3_SEARCH_DIRS} PATH_SUFFIXES @@ -45,9 +45,12 @@ FIND_PATH(FFTW3_INCLUDE_DIR fftw3.h ) FIND_LIBRARY(FFTW3_LIBRARY - NAMES "fftw3" - HINTS ${_fftw3_SEARCH_DIRS} - PATH_SUFFIXES lib64 lib + NAMES + fftw3 + HINTS + ${_fftw3_SEARCH_DIRS} + PATH_SUFFIXES + lib64 lib ) # handle the QUIETLY and REQUIRED arguments and set FFTW3_FOUND to TRUE if |