зеркало из https://github.com/microsoft/LightGBM.git
Co-authored-by: James Lamb <jaylamb20@gmail.com>
This commit is contained in:
Родитель
5e4ab24b30
Коммит
047c4fd25b
|
@ -752,7 +752,7 @@ endif()
|
|||
#
|
||||
# This reduces the risk of runtime issues resulting from multiple {libgomp,libiomp,libomp}.dylib being loaded.
|
||||
#
|
||||
if(APPLE AND USE_OPENMP)
|
||||
if(APPLE AND USE_OPENMP AND NOT BUILD_STATIC_LIB)
|
||||
# store path to {libgomp,libiomp,libomp}.dylib found at build time in a variable
|
||||
get_target_property(
|
||||
OpenMP_LIBRARY_LOCATION
|
||||
|
|
Загрузка…
Ссылка в новой задаче