Merge pull request #8889 from nextcloud/feature/noid/xcode-target-is-release

chore: set xcode target to `Debug` only for dev builds
This commit is contained in:
Jyrki Gadinger 2025-10-16 18:38:47 +02:00 committed by GitHub
commit 8ae74384ea
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -4,7 +4,7 @@
if(APPLE)
set(OC_OEM_SHARE_ICNS "${CMAKE_BINARY_DIR}/src/gui/${APPLICATION_ICON_NAME}.icns")
if (CMAKE_BUILD_TYPE MATCHES "Debug" OR CMAKE_BUILD_TYPE MATCHES "RelWithDebInfo")
if (NEXTCLOUD_DEV)
set(XCODE_TARGET_CONFIGURATION "Debug")
else()
set(XCODE_TARGET_CONFIGURATION "Release")