We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4adfe4d commit ca121ebCopy full SHA for ca121eb
lapack-netlib/TESTING/EIG/CMakeLists.txt
@@ -107,6 +107,10 @@ set(ZDMDEIGTST zchkdmd.f90)
107
macro(add_eig_executable name)
108
add_executable(${name} ${ARGN})
109
target_link_libraries(${name} openblas${SUFFIX64_UNDERSCORE})
110
+if (USE_OPENMP AND (${CMAKE_Fortran_COMPILER_ID} STREQUAL GNU) AND (${CMAKE_C_COMPILER_ID} STREQUAL Clang))
111
+ string(REGEX REPLACE "-fopenmp" "" CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS}")
112
+target_link_libraries(${name} omp pthread)
113
+endif()
114
#${TMGLIB} ../${LAPACK_LIBRARIES} ${BLAS_LIBRARIES})
115
endmacro()
116
0 commit comments