aboutsummaryrefslogtreecommitdiff
path: root/CMake/FindFFTW.cmake
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2018-06-19 11:08:07 +0200
committerThomas White <taw@physics.org>2018-06-19 11:08:07 +0200
commitff3c0b995b704eef615b36119afdf04d862c6ead (patch)
tree0822690598ed91b52ebf65db45fd449e4310a0dc /CMake/FindFFTW.cmake
parentb48a3d9aba6ce80ce8f0b2121e815cc20015532a (diff)
Simplify pkg-config stuff
Use it directly (no fallbacks, at least not until someone really needs it). Also, use the full LDFLAGS instead of just LIBRARIES, because the former also includes the link directories.
Diffstat (limited to 'CMake/FindFFTW.cmake')
-rw-r--r--CMake/FindFFTW.cmake20
1 files changed, 0 insertions, 20 deletions
diff --git a/CMake/FindFFTW.cmake b/CMake/FindFFTW.cmake
deleted file mode 100644
index faccfda5..00000000
--- a/CMake/FindFFTW.cmake
+++ /dev/null
@@ -1,20 +0,0 @@
-# - Find FFTW
-# Find the native FFTW includes and library
-#
-# FFTW_INCLUDES - where to find fftw3.h
-# FFTW_LIBRARIES - List of libraries when using FFTW.
-# FFTW_FOUND - True if FFTW found.
-
-if (FFTW_INCLUDES)
- # Already in cache, be silent
- set (FFTW_FIND_QUIETLY TRUE)
-endif (FFTW_INCLUDES)
-
-find_path (FFTW_INCLUDES fftw3.h)
-
-find_library (FFTW_LIBRARIES NAMES fftw3)
-
-# handle the QUIETLY and REQUIRED arguments and set FFTW_FOUND to TRUE if
-# all listed variables are TRUE
-include (FindPackageHandleStandardArgs)
-find_package_handle_standard_args (FFTW DEFAULT_MSG FFTW_LIBRARIES FFTW_INCLUDES)