Turn on -Wall

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2017-12-16 19:36:32 -08:00
parent b59778abd8
commit bd66ab15da

View file

@ -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)