aboutsummaryrefslogtreecommitdiff
path: root/ports/fftw3/omp_test.patch
diff options
context:
space:
mode:
authorPhil Christensen <philc@microsoft.com>2019-02-27 11:56:29 -0800
committerPhil Christensen <philc@microsoft.com>2019-02-27 11:56:29 -0800
commit2cc7fa27e57f1129d1f37ccb009563509ca25720 (patch)
tree3c75e423b71e54f6f65ec085c5d3d190d9d0d1a9 /ports/fftw3/omp_test.patch
parent3830517ec7519b823f5d8c404710889c6bd00278 (diff)
parent2dfa568d186e4f0d199040929f9b3e44f27c8943 (diff)
downloadvcpkg-2cc7fa27e57f1129d1f37ccb009563509ca25720.tar.gz
vcpkg-2cc7fa27e57f1129d1f37ccb009563509ca25720.zip
Merge branch 'master' of https://github.com/microsoft/vcpkg into dev/philc/5254
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 ()
+