Enforced signed datatypes for char variables, fixing ARM builds
This commit is contained in:
parent
e4cbdcfc4d
commit
3f1ce57fa1
|
@ -17,6 +17,9 @@ if(CMAKE_BUILD_TYPE STREQUAL "Debug")
|
|||
target_compile_definitions(${PROJECT_NAME} PRIVATE SPDLOG_ACTIVE_LEVEL=SPDLOG_LEVEL_TRACE)
|
||||
endif()
|
||||
|
||||
# Treat char variables as signed, especially useful for ARM builds
|
||||
target_compile_options(${PROJECT_NAME} PUBLIC -fsigned-char)
|
||||
|
||||
# Find dependencies
|
||||
|
||||
#
|
||||
|
|
|
@ -17,6 +17,9 @@ if(CMAKE_BUILD_TYPE STREQUAL "Debug")
|
|||
target_compile_definitions(${PROJECT_NAME} PRIVATE SPDLOG_ACTIVE_LEVEL=SPDLOG_LEVEL_TRACE)
|
||||
endif()
|
||||
|
||||
# Treat char variables as signed, especially useful for ARM builds
|
||||
target_compile_options(${PROJECT_NAME} PUBLIC -fsigned-char)
|
||||
|
||||
# Find dependencies
|
||||
|
||||
#
|
||||
|
|
Loading…
Reference in New Issue