Commit 5108ae5b authored by Lotrado's avatar Lotrado
Browse files

Fixed dependencies and link requirements of asset-embedding resource object libraries.

parent 13a316fe
......@@ -77,7 +77,8 @@ void ref_embedded_assets_${target}() {
add_dependencies(${target} mirrage_embedded_assets_${target})
if(MSVC)
add_library(mirrage_embedded_assets_obj_${target} OBJECT "${EMBED_SRC_FILE}")
target_link_libraries(${target} PUBLIC $<TARGET_OBJECTS:mirrage_embedded_assets_obj_${target}>)
target_link_libraries(${target} INTERFACE $<TARGET_OBJECTS:mirrage_embedded_assets_obj_${target}>)
add_dependencies(mirrage_embedded_assets_obj_${target} mirrage_embedded_assets_${target})
endif()
endmacro()
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment