Working multi-arch archiving

-Working multi arch compile
-Required assets now copy to the app bundle
TODO: Make the logic to wrap around whether its multi arch
-The changes in torqumacosconfigs.cmake are not required if we are only building one architecture, also if it is x86_64 we can drop min deployment target to 10.13
This commit is contained in:
marauder2k7 2023-10-20 12:04:56 +01:00
parent e381bf4838
commit b6617b1b0f
4 changed files with 32 additions and 9 deletions

View file

@ -128,6 +128,6 @@ endmacro (filterOut)
################# apple frameworks ###################
macro(addFramework framework)
if (APPLE)
set(TORQUE_LINK_LIBRARIES ${TORQUE_LINK_LIBRARIES} "${CMAKE_FRAMEWORK_PATH}/${framework}.framework")
set(TORQUE_LINK_FRAMEWORKS ${TORQUE_LINK_FRAMEWORKS} "${CMAKE_FRAMEWORK_PATH}/${framework}.framework")
endif()
endmacro()