From 1daccb57b771d50368568245b95d205d5518b17f Mon Sep 17 00:00:00 2001 From: John Travers Date: Thu, 14 Feb 2019 22:50:08 +0000 Subject: [fftw3] Add openmp to fftw3 (#4351) --- ports/fftw3/omp_test.patch | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 ports/fftw3/omp_test.patch (limited to 'ports/fftw3/omp_test.patch') diff --git a/ports/fftw3/omp_test.patch b/ports/fftw3/omp_test.patch new file mode 100644 index 000000000..6123798a2 --- /dev/null +++ b/ports/fftw3/omp_test.patch @@ -0,0 +1,17 @@ +diff --git a/CMakeLists.txt b/CMakeLists.txt +index f3cfc20..9826bff 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -385,6 +385,12 @@ if (BUILD_TESTS) + target_link_libraries (bench ${fftw3_lib}) + endif () + ++ if (ENABLE_OPENMP) ++ target_link_libraries (bench ${fftw3_lib}_omp) ++ else () ++ target_link_libraries (bench ${fftw3_lib}) ++ endif () ++ + + enable_testing () + -- cgit v1.2.3