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
f2868add
Commit
f2868add
authored
Aug 27, 2015
by
Davis King
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improved finding of X11 on mac os
parent
d96711ed
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
CMakeLists.txt
dlib/CMakeLists.txt
+5
-2
No files found.
dlib/CMakeLists.txt
View file @
f2868add
...
@@ -145,10 +145,13 @@ if (NOT TARGET dlib)
...
@@ -145,10 +145,13 @@ if (NOT TARGET dlib)
if
(
NOT DLIB_NO_GUI_SUPPORT
)
if
(
NOT DLIB_NO_GUI_SUPPORT
)
find_library
(
xlib X11
)
find_library
(
xlib X11
)
# make sure X11 is in the include path
# Make sure X11 is in the include path. Note that we look for
find_path
(
xlib_path Xlib.h
# Xlocale.h rather than Xlib.h because it avoids finding a partial
# copy of the X11 headers on systems with anaconda installed.
find_path
(
xlib_path Xlocale.h
PATHS
PATHS
/Developer/SDKs/MacOSX10.4u.sdk/usr/X11R6/include
/Developer/SDKs/MacOSX10.4u.sdk/usr/X11R6/include
/opt/local/include
PATH_SUFFIXES X11
PATH_SUFFIXES X11
)
)
if
(
xlib AND xlib_path
)
if
(
xlib AND xlib_path
)
...
...
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