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
OpenDAS
dlib
Commits
1429b867
"...serve/git@developer.sourcefind.cn:OpenDAS/lmdeploy.git" did not exist on "64936449929bb6e61853eb8e93e76c0e7d39ab02"
Commit
1429b867
authored
Jun 12, 2018
by
Davis King
Browse files
Fix cuda not building on osx sometimes.
parent
1e8c2cc1
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
dlib/CMakeLists.txt
dlib/CMakeLists.txt
+1
-1
No files found.
dlib/CMakeLists.txt
View file @
1429b867
...
@@ -675,7 +675,7 @@ if (NOT TARGET dlib)
...
@@ -675,7 +675,7 @@ if (NOT TARGET dlib)
# Intel MKL, hasn't already decided what to use. This is because
# Intel MKL, hasn't already decided what to use. This is because
# it makes the MKL bug out if you link to another openmp lib other
# it makes the MKL bug out if you link to another openmp lib other
# than Intel's when you use the MKL.
# than Intel's when you use the MKL.
if
(
NOT openmp_libraries AND NOT MSVC AND NOT XCODE
)
if
(
NOT openmp_libraries AND NOT MSVC AND NOT XCODE
AND NOT APPLE
)
find_package
(
OpenMP
)
find_package
(
OpenMP
)
if
(
OPENMP_FOUND
)
if
(
OPENMP_FOUND
)
set
(
openmp_libraries
${
OpenMP_CXX_FLAGS
}
)
set
(
openmp_libraries
${
OpenMP_CXX_FLAGS
}
)
...
...
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