Skip to content

Commit

Permalink
BUILD(cmake): Ensure plain char type is always signed
Browse files Browse the repository at this point in the history
This eradicates some platform differences

Fixes mumble-voip#3845
  • Loading branch information
Krzmbrzl committed Jan 4, 2024
1 parent 26c2e34 commit fe84f14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/compiler.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ if(WIN32)
add_compile_definitions(_WIN32_WINNT=0x0601)
endif()

set(WANTED_FEATURES "ENABLE_MOST_WARNINGS")
set(WANTED_FEATURES "ENABLE_MOST_WARNINGS" "ENSURE_DEFAULT_CHAR_IS_SIGNED")

if(CMAKE_BUILD_TYPE STREQUAL "Release")
list(APPEND WANTED_FEATURES "OPTIMIZE_FOR_SPEED")
Expand Down

0 comments on commit fe84f14

Please sign in to comment.