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
d8bea4d3
Commit
d8bea4d3
authored
Jun 09, 2013
by
Davis King
Browse files
Improved the help messages cmake outputs to tell the user how to install
optional dependencies such as X11, BLAS, and LAPACK.
parent
5471511a
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
9 deletions
+14
-9
dlib/CMakeLists.txt
dlib/CMakeLists.txt
+8
-8
dlib/cmake_find_blas.txt
dlib/cmake_find_blas.txt
+6
-1
No files found.
dlib/CMakeLists.txt
View file @
d8bea4d3
...
@@ -111,10 +111,10 @@ if (NOT TARGET dlib)
...
@@ -111,10 +111,10 @@ if (NOT TARGET dlib)
include_directories
(
${
x11_path
}
)
include_directories
(
${
x11_path
}
)
set
(
dlib_needed_libraries
${
dlib_needed_libraries
}
${
xlib
}
)
set
(
dlib_needed_libraries
${
dlib_needed_libraries
}
${
xlib
}
)
else
()
else
()
message
(
" *****************************************************************************
******
"
)
message
(
" *****************************************************************************"
)
message
(
" ***
***
DLIB GUI SUPPORT DISABLED BECAUSE X11 DEVELOPMENT LIBRARIES NOT FOUND
***
***"
)
message
(
" *** DLIB GUI SUPPORT DISABLED BECAUSE X11 DEVELOPMENT LIBRARIES NOT FOUND ***"
)
message
(
" ***
***
Make sure libx11-dev is installed if you want GUI support
***
***"
)
message
(
" *** Make sure libx11-dev is installed if you want GUI support ***"
)
message
(
" *****************************************************************************
******
"
)
message
(
" *****************************************************************************"
)
set
(
DLIB_NO_GUI_SUPPORT ON CACHE STRING
${
DLIB_NO_GUI_SUPPORT_STR
}
FORCE
)
set
(
DLIB_NO_GUI_SUPPORT ON CACHE STRING
${
DLIB_NO_GUI_SUPPORT_STR
}
FORCE
)
endif
()
endif
()
endif
()
endif
()
...
@@ -142,10 +142,10 @@ if (NOT TARGET dlib)
...
@@ -142,10 +142,10 @@ if (NOT TARGET dlib)
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
()
message
(
" *****************************************************************************
******
"
)
message
(
" *****************************************************************************"
)
message
(
" ***
***
DLIB GUI SUPPORT DISABLED BECAUSE X11 DEVELOPMENT LIBRARIES NOT FOUND
***
***"
)
message
(
" *** DLIB GUI SUPPORT DISABLED BECAUSE X11 DEVELOPMENT LIBRARIES NOT FOUND ***"
)
message
(
" ***
***
Make sure libx11-dev is installed if you want GUI support
***
***"
)
message
(
" *** Make sure libx11-dev is installed if you want GUI support ***"
)
message
(
" *****************************************************************************
******
"
)
message
(
" *****************************************************************************"
)
set
(
DLIB_NO_GUI_SUPPORT ON CACHE STRING
${
DLIB_NO_GUI_SUPPORT_STR
}
FORCE
)
set
(
DLIB_NO_GUI_SUPPORT ON CACHE STRING
${
DLIB_NO_GUI_SUPPORT_STR
}
FORCE
)
endif
()
endif
()
endif
()
endif
()
...
...
dlib/cmake_find_blas.txt
View file @
d8bea4d3
...
@@ -163,7 +163,12 @@ if (UNIX)
...
@@ -163,7 +163,12 @@ if (UNIX)
if (NOT blas_found)
if (NOT blas_found)
message(STATUS "***** No BLAS library found *****")
message(" *****************************************************************************")
message(" *** No BLAS library found so using dlib's built in BLAS. However, if you ***")
message(" *** install an optimized BLAS such as openblas or the Intel MKL your code ***")
message(" *** will run faster. On Ubuntu you can install openblas by executing: ***")
message(" *** sudo apt-get install libopenblas-dev liblapack-dev ***")
message(" *****************************************************************************")
endif()
endif()
endif()
endif()
...
...
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