forked from Lainports/freebsd-ports
17 lines
512 B
CMake
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)
|