aboutsummaryrefslogtreecommitdiff
path: root/ports/fftw3/omp_test.patch
blob: 6123798a21cf958e8748a4869493a5ce65572f42 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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 ()