Don't set USE_ICON on macOS; the icon is derived from the bundle

This commit is contained in:
Tim Angus 2025-10-07 15:26:04 +01:00
parent ed080d3a79
commit c2051b8222
2 changed files with 3 additions and 3 deletions

View File

@ -4,6 +4,9 @@ if(NOT UNIX OR APPLE)
return()
endif()
list(APPEND CLIENT_DEFINITIONS USE_ICON)
list(APPEND RENDERER_DEFINITIONS USE_ICON)
if(CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT)
set_property(CACHE CMAKE_INSTALL_PREFIX PROPERTY VALUE /opt/quake3)
endif()

View File

@ -20,6 +20,3 @@ list(APPEND COMMON_LIBRARIES
dl # Dynamic loader
m # Math library
)
list(APPEND CLIENT_DEFINITIONS USE_ICON)
list(APPEND RENDERER_DEFINITIONS USE_ICON)