Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
D
dlib
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
钟尚武
dlib
Commits
f9af9f8b
Commit
f9af9f8b
authored
Dec 07, 2017
by
Kino
Committed by
Davis E. King
Dec 07, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
don't look for OpenMP with Apple Clang (#1002)
look at issue:
https://github.com/davisking/dlib/issues/674
parent
27b2d034
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
CMakeLists.txt
dlib/CMakeLists.txt
+5
-2
No files found.
dlib/CMakeLists.txt
View file @
f9af9f8b
...
...
@@ -611,7 +611,7 @@ if (NOT TARGET dlib)
# 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
# than Intel's when you use the MKL.
if
(
NOT openmp_libarires AND NOT MSVC
)
if
(
NOT openmp_libarires AND NOT MSVC
AND NOT XCODE
)
find_package
(
OpenMP
)
if
(
OPENMP_FOUND
)
set
(
openmp_libarires
${
OpenMP_CXX_FLAGS
}
)
...
...
@@ -637,8 +637,11 @@ if (NOT TARGET dlib)
${
cudnn
}
${
CUDA_curand_LIBRARY
}
${
cusolver
}
${
openmp_libarires
}
)
if
(
OPENMP_FOUND
)
list
(
APPEND dlib_needed_libraries
${
openmp_libraries
}
)
endif
()
include_directories
(
${
cudnn_include
}
)
message
(
STATUS
"Enabling CUDA support for dlib. DLIB WILL USE CUDA"
)
else
()
...
...
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