mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2024-11-25 07:05:40 +00:00
CMake: Fix duplicate SPIRV-Cross library on MacOS
This commit is contained in:
parent
c23ea4b2ad
commit
6e795c8977
|
@ -289,7 +289,7 @@ function(add_util_resources target)
|
|||
endif()
|
||||
|
||||
# Copy shaderc into the bundle
|
||||
get_target_property(SPIRV_CROSS_LIBRARY spirv-cross-c-shared IMPORTED_LOCATION_RELEASE)
|
||||
get_target_property(SPIRV_CROSS_LIBRARY spirv-cross-c-shared IMPORTED_SONAME_RELEASE)
|
||||
target_sources(duckstation-qt PRIVATE "${SHADERC_LIBRARY}" "${SPIRV_CROSS_LIBRARY}")
|
||||
set_source_files_properties("${SHADERC_LIBRARY}" "${SPIRV_CROSS_LIBRARY}" PROPERTIES MACOSX_PACKAGE_LOCATION Frameworks)
|
||||
endif()
|
||||
|
|
Loading…
Reference in a new issue