From 2d6047472b67103cba6fe5cc3a871fe526b2cec1 Mon Sep 17 00:00:00 2001 From: MerryMage Date: Sun, 29 Oct 2017 20:13:00 +0000 Subject: [PATCH] wxWidgets3: Fix compilation due to change in assert macros in macOS 10.13 SDK --- Externals/wxWidgets3/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}