add ios static libs
This commit is contained in:
parent
26d77c62d6
commit
0a02fee4ed
|
|
@ -144,6 +144,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_INCLUDES
|
||||
${CMAKE_CURRENT_LIST_DIR}/include
|
||||
)
|
||||
|
|
@ -159,4 +171,5 @@ list(APPEND CC_EXTERNAL_LIBS
|
|||
${glslang_libs_name}
|
||||
${spirv-cross_libs_name}
|
||||
${tbb_libs_name}
|
||||
${PhysXSDK}
|
||||
)
|
||||
|
|
|
|||
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.
Loading…
Reference in New Issue