Skip to content

Commit

Permalink
fix: force signed char when compiling on linux and mac
Browse files Browse the repository at this point in the history
  • Loading branch information
hello-adam committed Jun 7, 2024
1 parent 5ed943e commit 5a528ec
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,10 @@ if ((LINUX AND SELF_CONTAINED_APP) OR APPLE)
endif()
endif()

if (UNIX)
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fsigned-char")
endif()

#
# Dependencies
#
Expand Down

0 comments on commit 5a528ec

Please sign in to comment.