opnsense-ports/databases/tarantool/files/patch-cmake-BuildMisc.cmake
Franco Fichtner d034e388b5 */*: sync with upstream
Taken from: HardenedBSD
2019-03-30 08:50:07 +01: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)