mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 05:00:20 +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++
|
# using Visual Studio C++
|
||||||
endif()
|
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
|
# pkgconfig for required libraries
|
||||||
find_package(PkgConfig)
|
find_package(PkgConfig)
|
||||||
include(cmake/Modules/pkgconfig_helper.cmake)
|
include(cmake/Modules/pkgconfig_helper.cmake)
|
||||||
|
|
Loading…
Reference in a new issue