summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2022-01-17 12:38:07 +0200
committerJaakko Keränen <jaakko.keranen@iki.fi>2022-01-17 12:38:07 +0200
commit5d2e8f5acc6448c17a4532bea692dcb9d92d3dc9 (patch)
tree1d51dc4db6e74189586f6e6029f0fb8c7918f525
parent511c49e36b63fa448afb07bc14ecb8d5cafb0f6d (diff)
macOS: Deploy the app icon
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 1bb50791..4ac00ad3 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -294,6 +294,7 @@ elseif (APPLE)
294 add_definitions (-DiPlatformAppleDesktop=1) 294 add_definitions (-DiPlatformAppleDesktop=1)
295 list (APPEND SOURCES src/macos.m src/macos.h) 295 list (APPEND SOURCES src/macos.m src/macos.h)
296 list (APPEND RESOURCES "res/Lagrange.icns") 296 list (APPEND RESOURCES "res/Lagrange.icns")
297 set_source_files_properties ("res/Lagrange.icns" PROPERTIES MACOSX_PACKAGE_LOCATION Resources)
297endif () 298endif ()
298if (MSYS) 299if (MSYS)
299 set (WINRC_FILE_VERSION ${PROJECT_VERSION_MAJOR},${PROJECT_VERSION_MINOR},${PROJECT_VERSION_PATCH},0) 300 set (WINRC_FILE_VERSION ${PROJECT_VERSION_MAJOR},${PROJECT_VERSION_MINOR},${PROJECT_VERSION_PATCH},0)
@@ -301,7 +302,6 @@ if (MSYS)
301 configure_file (res/lagrange.rc.in ${CMAKE_CURRENT_BINARY_DIR}/lagrange.rc NEWLINE_STYLE WIN32) 302 configure_file (res/lagrange.rc.in ${CMAKE_CURRENT_BINARY_DIR}/lagrange.rc NEWLINE_STYLE WIN32)
302 list (APPEND SOURCES src/win32.c src/win32.h ${CMAKE_CURRENT_BINARY_DIR}/lagrange.rc) 303 list (APPEND SOURCES src/win32.c src/win32.h ${CMAKE_CURRENT_BINARY_DIR}/lagrange.rc)
303endif () 304endif ()
304#set_source_files_properties (${RESOURCES} PROPERTIES MACOSX_PACKAGE_LOCATION Resources)
305if (MSYS OR (APPLE AND NOT MOBILE) OR (UNIX AND NOT MOBILE)) 305if (MSYS OR (APPLE AND NOT MOBILE) OR (UNIX AND NOT MOBILE))
306 add_definitions (-DiPlatformPcDesktop=1) 306 add_definitions (-DiPlatformPcDesktop=1)
307endif () 307endif ()