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
a0990563
Commit
a0990563
authored
Mar 30, 2017
by
Davis King
Browse files
Options
Browse Files
Download
Plain Diff
merged
parents
6d721e5c
696d24c2
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
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 .
...
@@ -21,7 +21,9 @@ mkdir build; cd build; cmake .. -DUSE_AVX_INSTRUCTIONS=1; cmake --build .
Doing so will make some things run faster.
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
## Compiling dlib Python API
...
...
dlib/CMakeLists.txt
View file @
a0990563
...
@@ -234,7 +234,7 @@ if (NOT TARGET dlib)
...
@@ -234,7 +234,7 @@ if (NOT TARGET dlib)
# If both X11 and anaconda are installed, it's possible for the
# If both X11 and anaconda are installed, it's possible for the
# anaconda path to appear before /opt/X11, so we remove anaconda.
# anaconda path to appear before /opt/X11, so we remove anaconda.
foreach
(
ITR
${
X11_INCLUDE_DIR
}
)
foreach
(
ITR
${
X11_INCLUDE_DIR
}
)
if
(
"
${
ITR
}
"
MATCHES
"(.*)
ana
conda(.*)"
)
if
(
"
${
ITR
}
"
MATCHES
"(.*)
(ana|mini)
conda(.*)"
)
list
(
REMOVE_ITEM X11_INCLUDE_DIR
${
ITR
}
)
list
(
REMOVE_ITEM X11_INCLUDE_DIR
${
ITR
}
)
endif
()
endif
()
endforeach
(
ITR
)
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