From 20b351916e4076378a890a23db07199ff72686dd Mon Sep 17 00:00:00 2001 From: w0xel Date: Mon, 19 Nov 2018 16:04:27 +0100 Subject: [PATCH] Fix compile with fftw3f not in system dir --- host/hackrf-tools/src/CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/host/hackrf-tools/src/CMakeLists.txt b/host/hackrf-tools/src/CMakeLists.txt index 40f11dc0..ee2dbb94 100644 --- a/host/hackrf-tools/src/CMakeLists.txt +++ b/host/hackrf-tools/src/CMakeLists.txt @@ -24,6 +24,8 @@ set(INSTALL_DEFAULT_BINDIR "bin" CACHE STRING "Appended to CMAKE_INSTALL_PREFIX") find_package(FFTW REQUIRED) +include_directories(${FFTW_INCLUDE_DIRS}) +link_directories(${FFTW_LIBRARY_DIRS}) SET(TOOLS hackrf_transfer