From fdc06f754b9bdb0ed607b881a5205a856a5d49d5 Mon Sep 17 00:00:00 2001 From: Shanigen Date: Tue, 31 Jul 2018 11:03:44 +0200 Subject: [PATCH] Modified CMAKE Modified CMAKE to correctly show scale_vars.hpp as one of the source files. --- src/CMakeLists.txt | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index bb31ccb..8f506f6 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -32,21 +32,21 @@ ENDIF() SET(use_cuda OFF) IF(FFT STREQUAL "OpenCV") - list(APPEND KCF_LIB_SRC fft_opencv.cpp complexmat.hpp) + list(APPEND KCF_LIB_SRC fft_opencv.cpp complexmat.hpp scale_vars.hpp) ELSEIF(FFT STREQUAL "OpenCV_cuFFT") - list(APPEND KCF_LIB_SRC fft_opencv_cuda.cpp complexmat.hpp) + list(APPEND KCF_LIB_SRC fft_opencv_cuda.cpp complexmat.hpp scale_vars.hpp) add_definitions(-DOPENCV_CUFFT) set(use_cuda ON) ELSEIF(FFT STREQUAL "fftw") - list(APPEND KCF_LIB_SRC fft_fftw.cpp complexmat.hpp) + list(APPEND KCF_LIB_SRC fft_fftw.cpp complexmat.hpp scale_vars.hpp) add_definitions(-DFFTW) pkg_check_modules(FFTW REQUIRED fftw3f) ELSEIF(FFT STREQUAL "cuFFTW") - list(APPEND KCF_LIB_SRC fft_fftw.cpp complexmat.hpp) + list(APPEND KCF_LIB_SRC fft_fftw.cpp complexmat.hpp scale_vars.hpp) add_definitions(-DFFTW -DCUFFTW) set(use_cuda ON) ELSEIF(FFT STREQUAL "cuFFT") - list(APPEND KCF_LIB_SRC fft_cufft.cpp complexmat.cuh cuda_functions.cuh) + list(APPEND KCF_LIB_SRC fft_cufft.cpp complexmat.cuh cuda_functions.cuh scale_vars.hpp) add_definitions(-DCUFFT) set(use_cuda ON) iF(CUDA_DEBUG) -- 2.39.2