Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/prusa3d/PrusaSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortamasmeszaros <meszaros.q@gmail.com>2021-02-11 11:58:04 +0300
committertamasmeszaros <meszaros.q@gmail.com>2021-02-11 11:58:04 +0300
commit4151922f7ceb75d450bcd2f73b37ef18f7bbf1ef (patch)
treec4ab562279d1e003cf2e9e6dee820c517f3b997f /CMakeLists.txt
parentd39fd54e4f9ac70db6682e3dc7863f65f2bc7f75 (diff)
Force signed char on all GCC platforms
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 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 "")