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 fd8f0d4 commit ed6c223Copy full SHA for ed6c223
cmake/system.cmake
@@ -422,10 +422,11 @@ if (USE_OPENMP)
422
get_target_property(OMP_F_LIBS OpenMP::OpenMP_Fortran INTERFACE_LINK_LIBRARIES)
423
if (NOT OMP_C_LIBS STREQUAL OMP_F_LIBS)
424
message(NOTICE
425
- "OpenMP runtimes detected:\n"
+ "CMake detected different OpenMP libraries for C and Fortran:\n"
426
"C=${OMP_C_LIBS}\n"
427
"Fortran=${OMP_F_LIBS}\n"
428
- "Please check that they are the same OpenMP runtime implementation."
+ "In case you encounter issues, please check that this is correct.\n"
429
+ "You may pass -DOpenMP_<lang>_LIB_NAMES and -DOpenMP_<libname>_LIBRARY to cmake to manually force the OpenMP library."
430
)
431
endif()
432
endif ()
0 commit comments