blob: b6ab2d62a9a4e398741831f7c1f9ba8d2ed654d0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
commit 332cf98e3e0d8b72c0fe025e910af22f66ef5507
Author: Peter Asplund <peter.azp@gmail.com>
Date: Wed Mar 1 12:16:40 2023 +0100
Remove build flags that are redundant for C++
These are:
strict-prototypes, missing-prototypes, old-style-definition
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)
|