freebsd-ports/databases/tarantool/files/patch-cmake-BuildMisc.cmake
Sunpoet Po-Chuan Hsieh ec540e13ee Fix build on 13-CURRENT
Reported by:	pkg-fallout
2019-03-30 09:47:38 +00:00

17 lines
512 B
CMake

--- 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)