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
6b6e7de9
Commit
6b6e7de9
authored
Apr 05, 2017
by
Davis King
Browse files
Don't try to use any CUDA stuff when making matlab mex files.
parent
327de62c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
dlib/matlab/cmake_mex_wrapper
dlib/matlab/cmake_mex_wrapper
+3
-0
No files found.
dlib/matlab/cmake_mex_wrapper
View file @
6b6e7de9
...
@@ -8,6 +8,9 @@ cmake_minimum_required(VERSION 2.8.11)
...
@@ -8,6 +8,9 @@ cmake_minimum_required(VERSION 2.8.11)
set(BUILDING_MATLAB_MEX_FILE true)
set(BUILDING_MATLAB_MEX_FILE true)
set(CMAKE_POSITION_INDEPENDENT_CODE True)
set(CMAKE_POSITION_INDEPENDENT_CODE True)
# Trying to use cuda with matlab hasn't worked well, so just disable it.
SET(DLIB_USE_CUDA OFF CACHE BOOL "" FORCE)
# Find MATLAB's include directory and needed libraries
# Find MATLAB's include directory and needed libraries
find_program(MATLAB_EXECUTABLE matlab PATHS
find_program(MATLAB_EXECUTABLE matlab PATHS
"C:/Program Files/MATLAB/*/bin"
"C:/Program Files/MATLAB/*/bin"
...
...
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