Skip to content

Commit f1c0ce4

Browse files
committed
Removed specific warnings that occur on latest Mac compilers
1 parent d3d3e58 commit f1c0ce4

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
@@ -27,7 +27,7 @@ project(mapcode_cpp)
2727
# NO_FAST_ENCODE - Drop fast encoding support - only for internal use.
2828

2929
set(MAPCODE_OPTIONS "")
30-
set(MAPCODE_WARNING_OPTIONS "-Wall -Werror -Wextra")
30+
set(MAPCODE_WARNING_OPTIONS "-Wall -Werror -Wextra -Wno-pointer-to-int-cast -Wno-deprecated-declarations -Wno-unused-but-set-variable")
3131
set(MAPCODE_SANITIZER_COMPILER_OPTIONS "-fsanitize=address -fno-common -fno-optimize-sibling-calls -fno-omit-frame-pointer")
3232
set(MAPCODE_SANITIZER_LINKER_OPTIONS "-fsanitize=address")
3333

@@ -110,4 +110,4 @@ target_link_libraries(mapcode LINK_PUBLIC mapcodelib)
110110
target_link_libraries(mapcode LINK_PUBLIC Threads::Threads)
111111
target_link_libraries(mapcode LINK_PUBLIC ${M_LIB})
112112

113-
install(TARGETS mapcode DESTINATION /usr/local/bin)
113+
install(TARGETS mapcode DESTINATION /usr/local/bin)

0 commit comments

Comments
 (0)