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
51476c4c
"docs/git@developer.sourcefind.cn:renzhc/diffusers_dcu.git" did not exist on "f825221b5d5a69f2e8cef98e39d9651106065940"
Commit
51476c4c
authored
Feb 15, 2017
by
Davis King
Browse files
merged
parents
88778d2c
f3890be9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletion
+8
-1
dlib/CMakeLists.txt
dlib/CMakeLists.txt
+8
-1
No files found.
dlib/CMakeLists.txt
View file @
51476c4c
...
@@ -183,7 +183,7 @@ if (NOT TARGET dlib)
...
@@ -183,7 +183,7 @@ if (NOT TARGET dlib)
data_io/mnist.cpp
data_io/mnist.cpp
dnn/cpu_dlib.cpp
dnn/cpu_dlib.cpp
dnn/tensor_tools.cpp
dnn/tensor_tools.cpp
)
)
if
(
DLIB_ISO_CPP_ONLY
)
if
(
DLIB_ISO_CPP_ONLY
)
...
@@ -243,6 +243,13 @@ if (NOT TARGET dlib)
...
@@ -243,6 +243,13 @@ if (NOT TARGET dlib)
if
(
NOT DLIB_NO_GUI_SUPPORT
)
if
(
NOT DLIB_NO_GUI_SUPPORT
)
find_package
(
X11 QUIET
)
find_package
(
X11 QUIET
)
if
(
X11_FOUND
)
if
(
X11_FOUND
)
# 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(.*)"
)
list
(
REMOVE_ITEM X11_INCLUDE_DIR
${
ITR
}
)
endif
()
endforeach
(
ITR
)
include_directories
(
${
X11_INCLUDE_DIR
}
)
include_directories
(
${
X11_INCLUDE_DIR
}
)
set
(
dlib_needed_libraries
${
dlib_needed_libraries
}
${
X11_LIBRARIES
}
)
set
(
dlib_needed_libraries
${
dlib_needed_libraries
}
${
X11_LIBRARIES
}
)
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