Skip to content

Commit

Permalink
Add Unicode build option
Browse files Browse the repository at this point in the history
  • Loading branch information
dgrahelj authored and lkotsonis committed Nov 20, 2024
1 parent 93da09a commit ca43e19
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,13 @@ option(RTAUDIO_API_PULSE "Build PulseAudio API" ${pulse_FOUND})
option(RTAUDIO_API_JACK "Build JACK audio server API" ${HAVE_JACK})
option(RTAUDIO_API_CORE "Build CoreAudio API" ${APPLE})

# String encoding
option(RTAUDIO_UNICODE "Request UTF-8 encoded strings from system calls" OFF)

if (RTAUDIO_UNICODE)
add_definitions(-DUNICODE)
endif ()

# Check for functions
include(CheckFunctionExists)
check_function_exists(gettimeofday HAVE_GETTIMEOFDAY)
Expand Down

0 comments on commit ca43e19

Please sign in to comment.