From e45de12c5d4e59df159211bfb46a4b9dda23c5aa Mon Sep 17 00:00:00 2001 From: Selim Sandal <49725809+selimsandal@users.noreply.github.com> Date: Sat, 4 Jan 2025 10:45:42 +0300 Subject: [PATCH] Make sure debug postfix is empty If a debug postfix is set by another lib, the copied file name differs from the original target name, prevent this. --- cmake/MetalShaderSupport.cmake | 1 + 1 file changed, 1 insertion(+) diff --git a/cmake/MetalShaderSupport.cmake b/cmake/MetalShaderSupport.cmake index e187960..0021386 100644 --- a/cmake/MetalShaderSupport.cmake +++ b/cmake/MetalShaderSupport.cmake @@ -11,6 +11,7 @@ function(add_metal_shader_library TARGET) add_library(${TARGET} MODULE ${_amsl_UNPARSED_ARGUMENTS}) set_target_properties(${TARGET} PROPERTIES + DEBUG_POSTFIX "" XCODE_PRODUCT_TYPE com.apple.product-type.metal-library XCODE_ATTRIBUTE_MTL_FAST_MATH "YES" XCODE_ATTRIBUTE_MTL_ENABLE_DEBUG_INFO[variant=Debug] "INCLUDE_SOURCE"