diff options
author | tamasmeszaros <meszaros.q@gmail.com> | 2021-02-11 11:58:04 +0300 |
---|---|---|
committer | tamasmeszaros <meszaros.q@gmail.com> | 2021-02-11 11:58:04 +0300 |
commit | 4151922f7ceb75d450bcd2f73b37ef18f7bbf1ef (patch) | |
tree | c4ab562279d1e003cf2e9e6dee820c517f3b997f /CMakeLists.txt | |
parent | d39fd54e4f9ac70db6682e3dc7863f65f2bc7f75 (diff) |
Force signed char on all GCC platforms
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index cd44e06eb..517561a9a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -102,6 +102,10 @@ if (MINGW) add_compile_options(-Wa,-mbig-obj) endif () +if (NOT MSVC) + add_compile_options(-fsigned-char) +endif () + # Display and check CMAKE_PREFIX_PATH message(STATUS "SLIC3R_STATIC: ${SLIC3R_STATIC}") if (NOT "${CMAKE_PREFIX_PATH}" STREQUAL "") |