mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-27 20:58:47 +00:00
Turn on -Wall
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
b59778abd8
commit
bd66ab15da
1 changed files with 4 additions and 0 deletions
|
@ -96,6 +96,10 @@ elseif ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "MSVC")
|
|||
# using Visual Studio C++
|
||||
endif()
|
||||
|
||||
# every compiler understands -Wall
|
||||
set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall")
|
||||
set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall")
|
||||
|
||||
# pkgconfig for required libraries
|
||||
find_package(PkgConfig)
|
||||
include(cmake/Modules/pkgconfig_helper.cmake)
|
||||
|
|
Loading…
Reference in a new issue