aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorJames McCoy <jamessan@jamessan.com>2016-10-15 15:29:13 -0400
committerGitHub <noreply@github.com>2016-10-15 15:29:13 -0400
commit885db120fa51ea5209ed97a4096b756dc998cf05 (patch)
tree5a29c66fe1c7e28f34e20e200d88de812378923d /CMakeLists.txt
parent9477c5bb5baf1d017234cc294b82db9fb923c351 (diff)
parent1dd98a03aa90daafe2992ce65b570c5f59b28777 (diff)
downloadrneovim-885db120fa51ea5209ed97a4096b756dc998cf05.tar.gz
rneovim-885db120fa51ea5209ed97a4096b756dc998cf05.tar.bz2
rneovim-885db120fa51ea5209ed97a4096b756dc998cf05.zip
Merge pull request #5456 from jamessan/char-sign-conversion
Enable CI testing of unsigned char and fix fallout
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 93e153be53..4aa6a2de32 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -256,6 +256,10 @@ option(
if(TRAVIS_CI_BUILD)
message(STATUS "Travis CI build enabled.")
add_definitions(-Werror)
+ if(DEFINED ENV{BUILD_32BIT})
+ # Get some test coverage for unsigned char
+ add_definitions(-funsigned-char)
+ endif()
endif()
if(CMAKE_BUILD_TYPE MATCHES Debug)