diff --git a/platforms/desktop-shared/nfd/nfd_cocoa.mm b/platforms/desktop-shared/nfd/nfd_cocoa.m similarity index 100% rename from platforms/desktop-shared/nfd/nfd_cocoa.mm rename to platforms/desktop-shared/nfd/nfd_cocoa.m diff --git a/platforms/macos/Makefile b/platforms/macos/Makefile index a5860575..27d97ef2 100644 --- a/platforms/macos/Makefile +++ b/platforms/macos/Makefile @@ -1,6 +1,6 @@ include ../desktop-shared/Makefile.sources -SOURCES_CXX += $(DESKTOP_SRC_DIR)/nfd/nfd_cocoa.cpp +SOURCES_C += $(DESKTOP_SRC_DIR)/nfd/nfd_cocoa.m LDFLAGS += -framework AppKit -framework UniformTypeIdentifiers include ../desktop-shared/Makefile.common