File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -156,7 +156,7 @@ option(FLB_SMALL "Optimise for small size" No)
156
156
set (FLB_SECURITY "ReleaseOnly" CACHE STRING "Build with security optimizations" )
157
157
set_property (CACHE FLB_SECURITY PROPERTY STRINGS "On;Off;ReleaseOnly" )
158
158
option (FLB_COVERAGE "Build with code-coverage" No )
159
- option (FLB_DENY_INCOMPATIBLE_TYPES "Build with -Werror=incompatible-pointer-types" No )
159
+ option (FLB_COMPILER_STRICT_POINTER_TYPES "Build with -Werror=incompatible-pointer-types" No )
160
160
option (FLB_JEMALLOC "Build with Jemalloc support" No )
161
161
option (FLB_REGEX "Build with Regex support" Yes )
162
162
option (FLB_UTF8_ENCODER "Build with UTF8 encoding support" Yes )
@@ -437,7 +437,7 @@ if(FLB_COVERAGE)
437
437
set (CMAKE_BUILD_TYPE "Debug" )
438
438
endif ()
439
439
440
- if (FLB_DENY_INCOMPABLE_TYPES )
440
+ if (FLB_COMPILER_STRICT_POINTER_TYPES )
441
441
if (CMAKE_C_COMPILER_ID MATCHES "GNU|Clang|AppleClang" )
442
442
set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Werror=incompatible-pointer-types" )
443
443
endif ()
You can’t perform that action at this time.
0 commit comments