aboutsummaryrefslogtreecommitdiff
path: root/ports/fftw3/omp_test.patch
diff options
context:
space:
mode:
authorPhil Christensen <philc@microsoft.com>2019-02-28 14:36:23 -0800
committerPhil Christensen <philc@microsoft.com>2019-02-28 14:36:23 -0800
commit773c8267dfb506f41c204f61042f30b6143a8095 (patch)
tree5946d1526c3ad77a2df80786a1370d96389d931b /ports/fftw3/omp_test.patch
parent6afbceb27fd2aa39c66f810a22f5d4ad97575110 (diff)
parent7859944528be28bee1fda9f325b78d6a7f02124e (diff)
downloadvcpkg-773c8267dfb506f41c204f61042f30b6143a8095.tar.gz
vcpkg-773c8267dfb506f41c204f61042f30b6143a8095.zip
Merge branch 'master' of https://github.com/microsoft/vcpkg into dev/philc/4564
Diffstat (limited to 'ports/fftw3/omp_test.patch')
-rw-r--r--ports/fftw3/omp_test.patch17
1 files changed, 17 insertions, 0 deletions
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 ()
+