Skip to content

Commit 203a543

Browse files
committed
build: Rename as FLB_COMPILER_STRICT_POINTER_TYPES
Signed-off-by: Hiroshi Hatake <[email protected]>
1 parent aebec04 commit 203a543

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ option(FLB_SMALL "Optimise for small size" No)
156156
set(FLB_SECURITY "ReleaseOnly" CACHE STRING "Build with security optimizations")
157157
set_property(CACHE FLB_SECURITY PROPERTY STRINGS "On;Off;ReleaseOnly")
158158
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)
160160
option(FLB_JEMALLOC "Build with Jemalloc support" No)
161161
option(FLB_REGEX "Build with Regex support" Yes)
162162
option(FLB_UTF8_ENCODER "Build with UTF8 encoding support" Yes)
@@ -437,7 +437,7 @@ if(FLB_COVERAGE)
437437
set(CMAKE_BUILD_TYPE "Debug")
438438
endif()
439439

440-
if(FLB_DENY_INCOMPABLE_TYPES)
440+
if(FLB_COMPILER_STRICT_POINTER_TYPES)
441441
if(CMAKE_C_COMPILER_ID MATCHES "GNU|Clang|AppleClang")
442442
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Werror=incompatible-pointer-types")
443443
endif()

0 commit comments

Comments
 (0)