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()
|
endif()
|
||||||
|
|
||||||
# Copy shaderc into the bundle
|
# 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}")
|
target_sources(duckstation-qt PRIVATE "${SHADERC_LIBRARY}" "${SPIRV_CROSS_LIBRARY}")
|
||||||
set_source_files_properties("${SHADERC_LIBRARY}" "${SPIRV_CROSS_LIBRARY}" PROPERTIES MACOSX_PACKAGE_LOCATION Frameworks)
|
set_source_files_properties("${SHADERC_LIBRARY}" "${SPIRV_CROSS_LIBRARY}" PROPERTIES MACOSX_PACKAGE_LOCATION Frameworks)
|
||||||
endif()
|
endif()
|
||||||
|
|
Loading…
Reference in New Issue