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
a0990563
Commit
a0990563
authored
Mar 30, 2017
by
Davis King
Browse files
merged
parents
6d721e5c
696d24c2
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
README.md
README.md
+2
-0
dlib/CMakeLists.txt
dlib/CMakeLists.txt
+1
-1
No files found.
README.md
View file @
a0990563
...
...
@@ -21,7 +21,9 @@ mkdir build; cd build; cmake .. -DUSE_AVX_INSTRUCTIONS=1; cmake --build .
Doing so will make some things run faster.
## Compiling your own C++ programs that use dlib
The examples folder has a
[
CMake tutorial
](
https://github.com/davisking/dlib/blob/master/examples/CMakeLists.txt
)
that tells you what to do. There are also additional instructions on the
[
dlib web site
](
http://dlib.net/compile.html
)
.
## Compiling dlib Python API
...
...
dlib/CMakeLists.txt
View file @
a0990563
...
...
@@ -234,7 +234,7 @@ if (NOT TARGET dlib)
# If both X11 and anaconda are installed, it's possible for the
# anaconda path to appear before /opt/X11, so we remove anaconda.
foreach
(
ITR
${
X11_INCLUDE_DIR
}
)
if
(
"
${
ITR
}
"
MATCHES
"(.*)anaconda(.*)"
)
if
(
"
${
ITR
}
"
MATCHES
"(.*)
(
ana
|mini)
conda(.*)"
)
list
(
REMOVE_ITEM X11_INCLUDE_DIR
${
ITR
}
)
endif
()
endforeach
(
ITR
)
...
...
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