Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
tianlh
LightGBM-DCU
Commits
047c4fd2
Unverified
Commit
047c4fd2
authored
Aug 15, 2024
by
Dmitry Mottl
Committed by
GitHub
Aug 14, 2024
Browse files
[cmake] fixes static build for macos with OpenMP enabled (fixes #6601) (#6600)
Co-authored-by:
James Lamb
<
jaylamb20@gmail.com
>
parent
5e4ab24b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
CMakeLists.txt
CMakeLists.txt
+1
-1
No files found.
CMakeLists.txt
View file @
047c4fd2
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment