From 494ec9eb3d611c1a47382da894fed133546613cf Mon Sep 17 00:00:00 2001 From: Peter Asplund Date: Wed, 1 Mar 2023 12:16:40 +0100 Subject: [PATCH] Remove build flags that are redundant for C++ These are: strict-prototypes, missing-prototypes, old-style-definition --- CMakeLists.txt | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 69a0df0..3e396e2 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -102,10 +102,7 @@ target_include_directories(tmxparser PUBLIC target_compile_options(tmxparser PRIVATE -pedantic - PRIVATE -Wall - PRIVATE -Werror=strict-prototypes - PRIVATE -Werror=old-style-definition - PRIVATE -Werror=missing-prototypes) + PRIVATE -Wall) if(NOT USE_MINIZ) target_compile_options(tmxparser PRIVATE -Werror)