Skip to content

Commit

Permalink
Force WIN32 on MinGW.
Browse files Browse the repository at this point in the history
  • Loading branch information
tmiw committed Jun 22, 2022
1 parent 3e49cc0 commit 572845f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,7 @@ else(BOOTSTRAP_WXWIDGETS AND NOT EXISTS ${WXCONFIG})
#
if(MINGW)
message(STATUS "System is MinGW.")
add_definitions(-DWIN32=1)
# Default to static build of portaudio until I can figure out why the
# shared DLL doesn't work.
set(USE_STATIC_PORTAUDIO TRUE)
Expand Down

0 comments on commit 572845f

Please sign in to comment.