Lagrange [work/v1.7]

macOS: Deploy the app icon

=> 5d2e8f5acc6448c17a4532bea692dcb9d92d3dc9

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")
+    set_source_files_properties ("res/Lagrange.icns" PROPERTIES MACOSX_PACKAGE_LOCATION Resources)
 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 ()
Proxy Information
Original URL
gemini://git.skyjake.fi/lagrange/work%2Fv1.7/cdiff/5d2e8f5acc6448c17a4532bea692dcb9d92d3dc9
Status Code
Success (20)
Meta
text/gemini; charset=utf-8
Capsule Response Time
55.136641 milliseconds
Gemini-to-HTML Time
0.173209 milliseconds

This content has been proxied by September (ba2dc).