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
2c0be3f9
Commit
2c0be3f9
authored
Aug 24, 2014
by
Davis King
Browse files
changed cmake files a little to avoid warnings from the example programs.
parent
2ebafae7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
1 deletion
+9
-1
dlib/test/CMakeLists.txt
dlib/test/CMakeLists.txt
+1
-1
dlib/test/examples/CMakeLists.txt
dlib/test/examples/CMakeLists.txt
+8
-0
No files found.
dlib/test/CMakeLists.txt
View file @
2c0be3f9
...
@@ -163,7 +163,7 @@ TARGET_LINK_LIBRARIES(${target_name} dlib )
...
@@ -163,7 +163,7 @@ TARGET_LINK_LIBRARIES(${target_name} dlib )
if
(
NOT DLIB_NO_GUI_SUPPORT
)
if
(
NOT DLIB_NO_GUI_SUPPORT
)
add_subdirectory
(
gui
)
add_subdirectory
(
gui
)
add_subdirectory
(
../../
examples
examples_build
)
add_subdirectory
(
examples
)
endif
()
endif
()
dlib/test/examples/CMakeLists.txt
0 → 100644
View file @
2c0be3f9
# Disable some warnings from gcc when compiling the examples because fixing them would make the
# examples harder to read.
if
(
CMAKE_COMPILER_IS_GNUCXX
)
add_definitions
(
"-Wno-comment -Wno-unused-parameter"
)
endif
()
add_subdirectory
(
../../../examples examples_build
)
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