Skip to content

Commit ae9815a

Browse files
zisoftdterrahe
authored andcommitted
compile for macOS
Disable option USE_MAC_INTEGRATION which should no longer be needed with gtk4
1 parent 05d4726 commit ae9815a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

DefineOptions.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ else ()
4545
endif ()
4646

4747
if(APPLE)
48-
option(USE_MAC_INTEGRATION "Enable macOS integration" ON)
48+
option(USE_MAC_INTEGRATION "Enable macOS integration" OFF)
4949
else(APPLE)
5050
set(USE_MAC_INTEGRATION OFF)
5151
endif(APPLE)

src/gui/gtk.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
#ifdef MAC_INTEGRATION
5757
#include <gtkosxapplication.h>
5858
#endif
59-
#ifdef GDK_WINDOWING_QUARTZ
59+
#ifdef __APPLE__
6060
#include "osx/osx.h"
6161
#endif
6262
#ifdef _WIN32

0 commit comments

Comments
 (0)