summaryrefslogtreecommitdiff
path: root/databases/tarantool/files/patch-cmake-BuildMisc.cmake
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2019-03-30 09:47:38 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2019-03-30 09:47:38 +0000
commitec540e13ee4554e18ee9e91febdb703e9b8e2cb9 (patch)
tree2bc544ab89d178d70e755c27fc7372cd13a6e30f /databases/tarantool/files/patch-cmake-BuildMisc.cmake
parentFix build on 13-CURRENT after base r345349 (diff)
Fix build on 13-CURRENT
Reported by: pkg-fallout
Notes
Notes: svn path=/head/; revision=497241
Diffstat (limited to 'databases/tarantool/files/patch-cmake-BuildMisc.cmake')
-rw-r--r--databases/tarantool/files/patch-cmake-BuildMisc.cmake17
1 files changed, 17 insertions, 0 deletions
diff --git a/databases/tarantool/files/patch-cmake-BuildMisc.cmake b/databases/tarantool/files/patch-cmake-BuildMisc.cmake
new file mode 100644
index 000000000000..44b8e090c08b
--- /dev/null
+++ b/databases/tarantool/files/patch-cmake-BuildMisc.cmake
@@ -0,0 +1,17 @@
+--- cmake/BuildMisc.cmake.orig 2018-10-12 19:53:35 UTC
++++ cmake/BuildMisc.cmake
+@@ -35,11 +35,11 @@ macro(libmisc_build)
+
+ if (HAVE_OPENMP)
+ if(BUILD_STATIC)
+- set(GOMP_LIBRARY libgomp.a)
++ set(OMP_LIBRARY libomp.a)
+ else()
+- set(GOMP_LIBRARY gomp)
++ set(OMP_LIBRARY omp)
+ endif()
+- target_link_libraries(misc ${GOMP_LIBRARY} pthread)
++ target_link_libraries(misc ${OMP_LIBRARY} pthread)
+ endif()
+
+ unset(misc_src)