add mac static libs

This commit is contained in:
jiaxin.lai 2021-04-14 17:51:36 +08:00
parent d491dfa67c
commit 26d77c62d6
9 changed files with 13 additions and 0 deletions

View File

@ -146,6 +146,18 @@ set_target_properties(tbbmalloc_proxy PROPERTIES
)
set(tbb_libs_name tbb tbbmalloc tbbmalloc_proxy)
if(USE_PHYSICS_PHYSX)
set(PhysXSDK PhysX PhysXCommon PhysXFoundation PhysXExtensions PhysXCooking PhysXCharacterKinematic PhysXVehicle PhysXPvdSDK)
foreach(PX IN LISTS PhysXSDK)
add_library(${PX} STATIC IMPORTED GLOBAL)
set_target_properties(${PX} PROPERTIES
IMPORTED_LOCATION ${CMAKE_CURRENT_LIST_DIR}/libs/PhysX/lib${PX}_static_64.a
)
endforeach()
else()
set(PhysXSDK)
endif()
list(APPEND CC_EXTERNAL_LIBS
freetype
jpeg
@ -159,6 +171,7 @@ list(APPEND CC_EXTERNAL_LIBS
${glslang_libs_name}
${spirv-cross_libs_name}
${tbb_libs_name}
${PhysXSDK}
)
list(APPEND CC_EXTERNAL_INCLUDES

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.