blob: 44b8e090c08b08efb1e79f8b1ce152865e0a1cdd (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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)
|