commit | 4256e9a32360303981eb3813ef36e5833d33b8e2 | [log] [tgz] |
---|---|---|
author | Michal Vasko <mvasko@cesnet.cz> | Thu Sep 23 08:37:52 2021 +0200 |
committer | Michal Vasko <mvasko@cesnet.cz> | Thu Sep 23 08:56:09 2021 +0200 |
tree | 2351b6821e566ee423b1b2a73d6892219d0b8efa | |
parent | edd4f259702a9fd8b476c8604197d56093a37a77 [diff] [blame] |
build UPDATE enable pedantic compilation
diff --git a/CMakeLists.txt b/CMakeLists.txt index 991af12..66c564b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt
@@ -72,7 +72,7 @@ set(LIBYANG_SOVERSION ${LIBYANG_MAJOR_SOVERSION}) # global C flags -set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wextra -std=c11") +set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wextra -Wpedantic -std=c11") include_directories(${PROJECT_BINARY_DIR}/src ${PROJECT_SOURCE_DIR}/src)