From 5d2e8f5acc6448c17a4532bea692dcb9d92d3dc9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jaakko=20Kera=CC=88nen?= jaakko.keranen@iki.fi
Date: Mon, 17 Jan 2022 12:38:07 +0200
Subject: [PATCH 1/1] macOS: Deploy the app icon
CMakeLists.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 1bb50791..4ac00ad3 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -294,6 +294,7 @@ elseif (APPLE)
add_definitions (-DiPlatformAppleDesktop=1)
list (APPEND SOURCES src/macos.m src/macos.h)
list (APPEND RESOURCES "res/Lagrange.icns")
endif ()
if (MSYS)
set (WINRC_FILE_VERSION ${PROJECT_VERSION_MAJOR},${PROJECT_VERSION_MINOR},${PROJECT_VERSION_PATCH},0)
@@ -301,7 +302,6 @@ if (MSYS)
configure_file (res/lagrange.rc.in ${CMAKE_CURRENT_BINARY_DIR}/lagrange.rc NEWLINE_STYLE WIN32)
list (APPEND SOURCES src/win32.c src/win32.h ${CMAKE_CURRENT_BINARY_DIR}/lagrange.rc)
endif ()
-#set_source_files_properties (${RESOURCES} PROPERTIES MACOSX_PACKAGE_LOCATION Resources)
if (MSYS OR (APPLE AND NOT MOBILE) OR (UNIX AND NOT MOBILE))
add_definitions (-DiPlatformPcDesktop=1)
endif ()
--
2.25.1
text/plain
This content has been proxied by September (ba2dc).