mirror of
https://github.com/dpogue/CMake-MetalShaderSupport.git
synced 2025-04-03 20:45:05 +00:00
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.
This commit is contained in:
parent
989857d2e5
commit
e45de12c5d
1 changed files with 1 additions and 0 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Reference in a new issue