Skip to content

Commit

Permalink
Fix compiler error with msvc on non-unicode system
Browse files Browse the repository at this point in the history
  • Loading branch information
xyz1001 committed May 19, 2023
1 parent 6c76f58 commit 105bd44
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,9 @@ endif()

if(MSVC)
option(SENTRY_BUILD_RUNTIMESTATIC "Build sentry-native with static runtime" OFF)

set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} /utf-8")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /utf-8")
endif()

if(LINUX)
Expand Down

0 comments on commit 105bd44

Please sign in to comment.