From a13dead8cfb1e3ddfb42402cd33a8c33230e9e8a Mon Sep 17 00:00:00 2001 From: Vinyl Darkscratch Date: Fri, 5 Oct 2018 18:27:34 -0700 Subject: [PATCH] Add macOS desktop code --- CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 7ca1ed9..b86ae53 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -154,6 +154,9 @@ if(WIN32) include_directories( ${CMAKE_CURRENT_BINARY_DIR}/windows ) +elseif(APPLE) + list(APPEND MAIN_HEADERS src/mac-desktop.h) + list(APPEND MAIN_SOURCE src/mac-desktop.mm) endif() if (STEAM)