From a63accc287cbe23ac5461e113c08dfdefce876c7 Mon Sep 17 00:00:00 2001 From: Jean-Philip Desjardins Date: Mon, 19 Nov 2018 13:33:53 -0500 Subject: [PATCH] Move macOS specific files to a separate folder. --- Source/ui_unix/CMakeLists.txt | 4 ++-- Source/ui_unix/{ => macos}/AppIcon.icns | Bin Source/ui_unix/{ => macos}/Info.plist.in | 0 3 files changed, 2 insertions(+), 2 deletions(-) rename Source/ui_unix/{ => macos}/AppIcon.icns (100%) rename Source/ui_unix/{ => macos}/Info.plist.in (100%) diff --git a/Source/ui_unix/CMakeLists.txt b/Source/ui_unix/CMakeLists.txt index 5e0443a6..63b0e914 100644 --- a/Source/ui_unix/CMakeLists.txt +++ b/Source/ui_unix/CMakeLists.txt @@ -156,7 +156,7 @@ if(TARGET_PLATFORM_MACOS) GamePad/GamePadDeviceListener_OSX.h ) set(OSX_RES - ${CMAKE_CURRENT_SOURCE_DIR}/AppIcon.icns + ${CMAKE_CURRENT_SOURCE_DIR}/macos/AppIcon.icns ${CMAKE_CURRENT_SOURCE_DIR}/../../patches.xml ) add_executable(Play MACOSX_BUNDLE ${QT_SOURCES} ${QT_MOC_SRCS} ${QT_RES_SOURCES} ${QT_UI_HEADERS} ${OSX_RES}) @@ -175,7 +175,7 @@ if(TARGET_PLATFORM_MACOS) MACOSX_BUNDLE_BUNDLE_VERSION ${DATE} MACOSX_BUNDLE_COPYRIGHT "© Virtual Applications, 2017" MACOSX_BUNDLE_ICON_FILE "AppIcon.icns" - MACOSX_BUNDLE_INFO_PLIST "${CMAKE_CURRENT_SOURCE_DIR}/Info.plist.in" + MACOSX_BUNDLE_INFO_PLIST "${CMAKE_CURRENT_SOURCE_DIR}/macos/Info.plist.in" RESOURCE "${OSX_RES}" ) list(APPEND PROJECT_LIBS "-framework IOKit -framework CoreFoundation") diff --git a/Source/ui_unix/AppIcon.icns b/Source/ui_unix/macos/AppIcon.icns similarity index 100% rename from Source/ui_unix/AppIcon.icns rename to Source/ui_unix/macos/AppIcon.icns diff --git a/Source/ui_unix/Info.plist.in b/Source/ui_unix/macos/Info.plist.in similarity index 100% rename from Source/ui_unix/Info.plist.in rename to Source/ui_unix/macos/Info.plist.in