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
67d22c48
Commit
67d22c48
authored
Apr 26, 2019
by
Davis King
Browse files
disable annoying warning
parent
a0d492ae
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
dlib/test/CMakeLists.txt
dlib/test/CMakeLists.txt
+3
-0
No files found.
dlib/test/CMakeLists.txt
View file @
67d22c48
...
@@ -168,6 +168,9 @@ ADD_EXECUTABLE(${target_name} main.cpp tester.cpp ${tests})
...
@@ -168,6 +168,9 @@ ADD_EXECUTABLE(${target_name} main.cpp tester.cpp ${tests})
# Turn on all warnings when using gcc.
# Turn on all warnings when using gcc.
if
(
CMAKE_COMPILER_IS_GNUCXX
)
if
(
CMAKE_COMPILER_IS_GNUCXX
)
add_definitions
(
"-W -Wall"
)
add_definitions
(
"-W -Wall"
)
# I don't care about unused testing functions though. I like to keep them
# around. Don't warn about it.
add_definitions
(
"-Wno-unused-function"
)
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