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
c451ac11
"git@developer.sourcefind.cn:OpenDAS/apex.git" did not exist on "59e992da71b678fbdbeb6181f8dd8fd81bdc495b"
Commit
c451ac11
authored
Dec 08, 2017
by
Davis King
Browse files
merged
parents
a2e90af5
f9af9f8b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
dlib/CMakeLists.txt
dlib/CMakeLists.txt
+5
-2
No files found.
dlib/CMakeLists.txt
View file @
c451ac11
...
@@ -611,7 +611,7 @@ if (NOT TARGET dlib)
...
@@ -611,7 +611,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_libarires AND NOT MSVC
)
if
(
NOT openmp_libarires AND NOT MSVC
AND NOT XCODE
)
find_package
(
OpenMP
)
find_package
(
OpenMP
)
if
(
OPENMP_FOUND
)
if
(
OPENMP_FOUND
)
set
(
openmp_libarires
${
OpenMP_CXX_FLAGS
}
)
set
(
openmp_libarires
${
OpenMP_CXX_FLAGS
}
)
...
@@ -637,8 +637,11 @@ if (NOT TARGET dlib)
...
@@ -637,8 +637,11 @@ if (NOT TARGET dlib)
${
cudnn
}
${
cudnn
}
${
CUDA_curand_LIBRARY
}
${
CUDA_curand_LIBRARY
}
${
cusolver
}
${
cusolver
}
${
openmp_libarires
}
)
)
if
(
OPENMP_FOUND
)
list
(
APPEND dlib_needed_libraries
${
openmp_libraries
}
)
endif
()
include_directories
(
${
cudnn_include
}
)
include_directories
(
${
cudnn_include
}
)
message
(
STATUS
"Enabling CUDA support for dlib. DLIB WILL USE CUDA"
)
message
(
STATUS
"Enabling CUDA support for dlib. DLIB WILL USE CUDA"
)
else
()
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