Update CMakeLists.txt

Signed-off-by: Rello <Rello@users.noreply.github.com>
This commit is contained in:
Rello 2025-09-08 14:00:54 +07:00 committed by GitHub
parent 421c48e879
commit ee7b3904f0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -20,8 +20,8 @@ endif()
# Icon switch: if branding is done, use the neutral state icons
set(STATE_SUBDIR "")
if(NOT APPLICATION_NAME STREQUAL "Nextcloud")
set(STATE_SUBDIR "neutral/")
if(APPLICATION_NAME STREQUAL "Nextcloud")
set(STATE_SUBDIR "nextcloud/")
endif()
configure_file(${CMAKE_SOURCE_DIR}/theme.qrc.in ${CMAKE_SOURCE_DIR}/theme.qrc)