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
97dc30bc
Commit
97dc30bc
authored
Jul 13, 2015
by
Davis E. King
Browse files
Merge pull request #20 from Abai/master
Replace add_definitions with CMAKE_CXX_FLAGS in cmake file
parents
95887df0
bd664d9a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
dlib/cmake
dlib/cmake
+2
-2
No files found.
dlib/cmake
View file @
97dc30bc
...
@@ -16,7 +16,7 @@ if (CMAKE_COMPILER_IS_GNUCXX)
...
@@ -16,7 +16,7 @@ if (CMAKE_COMPILER_IS_GNUCXX)
# By default, g++ won't warn or error if you forget to return a value in a
# By default, g++ won't warn or error if you forget to return a value in a
# function which requires you to do so. This option makes it give a warning
# function which requires you to do so. This option makes it give a warning
# for doing this.
# for doing this.
add_definitions("
-Wreturn-type")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS}
-Wreturn-type")
endif()
endif()
# Setup some options to allow a user to enable SSE and AVX instruction use.
# Setup some options to allow a user to enable SSE and AVX instruction use.
...
...
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