diff --git a/Externals/wxWidgets3/CMakeLists.txt b/Externals/wxWidgets3/CMakeLists.txt index 30fe4f587d..563f522618 100644 --- a/Externals/wxWidgets3/CMakeLists.txt +++ b/Externals/wxWidgets3/CMakeLists.txt @@ -825,7 +825,7 @@ target_compile_definitions(wx PRIVATE "WXBUILDING") target_compile_options(wx PRIVATE "-w") if(APPLE) - target_compile_definitions(wx PRIVATE "__WXOSX_COCOA__") + target_compile_definitions(wx PRIVATE "__WXOSX_COCOA__" "__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES=1") target_sources(wx PRIVATE ${SRCS_GENERICOSX} ${SRCS_OSX}